Inverted syntax: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) No edit summary |
||
Line 103: | Line 103: | ||
yes |
yes |
||
</pre> |
</pre> |
||
=={{header|ARM Assembly}}== |
|||
{{works with | ARM7TDMI}} |
|||
This version of the ARM is limited in the distance a branch command can go. Standard branch statements cannot branch more than 4 kilobytes away in either direction. Admittedly, this is incredibly generous and is unlikely to be reached. To branch farther away, the most common method is the <code>BX</code> instruction, which means "Branch and Exchange." This takes a register as its operand and exchanges the program counter with the value in that register. This is most often used to exit subroutines with <code>BX LR</code>. You can also move a desired memory location into the program counter directly, but this is not recommended as there is no way to return where you came from if you do. |
|||
=={{header|Bracmat}}== |
=={{header|Bracmat}}== |