Commit 5213ffeb authored by Aaron Erhardt's avatar Aaron Erhardt
Browse files

Add stack section


Signed-off-by: default avatarAaron Erhardt <aaron.erhardt@t-online.de>
parent 501a39de
......@@ -79,3 +79,15 @@ beq LABEL ; equal Z = 1
bne LABEL ; not equal Z = 0
```
## Stack
```asm
push r1 ; push r1 on the stack
pop r1 ; restore r1 from the stack
push {r0-r5} ; push r0-r5
pop {r0-r5} ; pop r0-r5 (in the correct order)
push {lr, r3, r10-12} ; push lr, r3 and r10-r12
pop {lr, r3, r10-12} ; pop lr, r3 and r10-r12
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment