0

What is the difference between MOVE 1234,D5 and MOVE #1234,D5? Ive tried to look online, but cant see to find what the first instruction is doing.

2 Answers2

1

The second moves the value 1234 into D5, the first moves the value at address 1234 into D5. You might want to look into addressing modes (for example, here: http://alanclements.org/68kaddressingmodes3.html).

Scott Hunter
  • 48,888
  • 12
  • 60
  • 101
0

The '#' represents a CONSTANT as explained here.

On Page 43 it states: A constant as a source operand is specified by preceding it with the special character #

Thom Parkin
  • 346
  • 1
  • 9