Add Two Numbers in Registers
Write ARM assembly to add two 32-bit integers stored in r0 and r1 and return the result in r0.
Constraints
- Use ADD instruction.
- Ignore overflow.
- r1 unchanged after operation.
1.global add_regs2add_regs:3 ; TODO
Write ARM assembly to add two 32-bit integers stored in r0 and r1 and return the result in r0.
1.global add_regs2add_regs:3 ; TODO