Help with assembly in crome

8man

#1 ◈ 2024-03-01

This is from a .cpf file for crome. I do not understand how
909DA179 = LCB A, tbl_79a1. How is the assembly written? I see the 79a1, but does the 909D = the LCB part? I am trying to understand, bear with me.



; 79A2 0 208 180 909DA179
; 79A6 0 208 180 C50628
; 79A9 0 208 180 CA03
; 79AB 0 208 180 03F079


label_79a2: LCB A, tbl_79a1
MB C, ACC.0
JLT label_79ae
J label_79f0

8man

#2 ◈ 2024-03-01

I am trying to understand how the hex values = the assembly commands.
Some help would be appreciated.

Ltdannear

#3 ◈ 2024-03-01

there is an unpublished list of hex code to command name interpretation.

The easiest way to learn is to skim through the asm file and see what the difference between similar command with different memory locations.
it will fall into place..
for instance, the short jump commands take a base (jump code)value and add(or subtract) the difference of the current address(plus 2) to reach the correct code address.