Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MOV R0, #123
- MOV R1, R0
- JMS f1
- HLT
- f1: PSH {LR}
- ADD R2, R1, R0
- JMS f2
- POP {PC}
- f2: OUT R2
- RET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement