I'm trying to create a factorial method using THUMB instructions, and I'm basically there.
I just have one question about the PUSH
/POP
opcodes: if I stored the value of r0 in the stack using push (so push {r0}
), can I later use pop {r1}
to pull it out or do I need to specify the same register as it was in to begin with? Thanks for your help.