Category:ARM Assembly: Difference between revisions

m
→‎Limitations of the ARM: Formatting (again)
m (→‎Limitations of the ARM: Formatting (again))
Line 68:
Most of the time, this isn't a huge deal, as the easiest way around this is to define a data block nearby containing the value you wish to load. Since each command on the ARM takes 4 bytes of storage, this is guaranteed to take equal or fewer bytes than loading the number into a register piece-by-piece.
 
<lang ARM Assembly>mov r0,#0x04000000
mov r0,#0x04000000
add r0,r0,#0x130
 
1,489

edits