Toggle Bit in Memory
Write ARM assembly to toggle bit 3 of a 32-bit value stored at address r0.
Constraints
- r0 holds pointer.
- r1 used as temp.
- Toggle bit 3 only.
- Return updated value in r0.
1.global toggle2 3toggle:4 ; TODO
Write ARM assembly to toggle bit 3 of a 32-bit value stored at address r0.
1.global toggle2 3toggle:4 ; TODO