RosettaCodeData/Task/Inverted-syntax/ARM-Assembly/inverted-syntax-3.arm

3 lines
182 B
Plaintext

STMFD sp!,{r0-r12,lr} ;push r0 thru r12 and the link register
LDMFD sp!,{r0-r12,pc} ;pop r0 thru r12, and the value that was in the link register is popped into the program counter.