The function bindings in the manual make use of lea <ea>,Dn , but this not supported on the 68000 (only from 68020 probably?), on the 68000, LEA's destination register must be an address register.
So we have to use:
move.l #buffer,d0 if using an immediate address
- otherwise go through an address register e.g.
lea.l (a0,d6),a6
move.l a6,d0
I can do the update in a few days hopefully.
The function bindings in the manual make use of
lea <ea>,Dn, but this not supported on the 68000 (only from 68020 probably?), on the 68000, LEA's destination register must be an address register.So we have to use:
move.l #buffer,d0if using an immediate addressI can do the update in a few days hopefully.