Norman Dunbar wrote:
>         lea chico-4*elem_size(a1),a1            A1 = $140 - $19c + (4 * $0c)
> = $140 - $1cc

Huh, interesting interpretation of LEA, but I'm afraid your 68k might
disagree ;-)

The address register is the base (i.e. always added),
"chico-4*elem_size" is the offset. And of course an assembler must
obey the rule to multiply first, otherwise it's trash.

> How did I do ?

I'm afraid you have to take that exam again ;-)

Ciao, Marcel

Reply via email to