Category:ARM Assembly: Difference between revisions
m
→Limitations of the ARM: Formatting (again)
Puppydrum64 (talk | contribs) m (→Limitations of the ARM: Formatting) |
Puppydrum64 (talk | contribs) 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
add r0,r0,#0x130
|