Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between LEA and MOVE.L?

Tags:

assembly

68000

Are there any differences between

LEA $1000,A0

and

MOVE #$1000,A0

to put an address in the address registry?

like image 478
dynamic Avatar asked May 24 '12 15:05

dynamic


1 Answers

In this case, there will be no observable difference (unlike the accepted answer claims - the MOVE example will assemble as MOVEA which does not alter the CCR, see M68K Reference Manual Pg 4-116 to 4-120).

like image 72
Durandal Avatar answered Nov 23 '22 06:11

Durandal