ARM Architecture - Subroutines and Stack
What is wrong with this ARM assembly code snippet according to AAPCS?
my_subroutine:
PUSH {R4, LR}
MOV R4, R0
POP {R4}
BX LRmy_subroutine:
PUSH {R4, LR}
MOV R4, R0
POP {R4}
BX LR15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions