Coldfire Assembly

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coldfire Assembly

803 Views
c393
Contributor II

What does the % symbol represent in the following statement?

 

asm("move.l %D0,(%A1)")

Labels (1)
0 Kudos
Reply
1 Reply

398 Views
admin
Specialist II

'%' means register in GNU assembler notation.

 

Instruction asm("move.l %D0,(%A1)") means:

Copy 32-bit content of register D0 to RAM by address, which is taken from register A1.

 

0 Kudos
Reply