Add Two Numbers in Registers

Easy Assembly Math
Solve this problem

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.
Starter codeAssembly
1.global add_regs2add_regs:3    ; TODO