Flow-control structures: Difference between revisions
m
→{{header|ARM Assembly}}: clarification
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→{{header|ARM Assembly}}: clarification) |
||
Line 259:
=={{header|ARM Assembly}}==
<lang ARM Assembly>SWI n ;software system call
B
;In fact, almost any instruction can be made conditional to avoid branching.
BL
;The program counter is copied to the link register, then the operand of this command becomes the new program counter.
BX
;BX LR is commonly used to return from a subroutine.</lang>
|