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

3 lines
182 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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.