Compute R3 - R2
- Load register 0 with the number FF
- Load register 1 with the number 1
- Load register 3 with X (say 3F)
- Load register 2 with Y (say 25)
- Combine registers 0 and 2 with XOR and store the result in register 4
- Add registers 3 and 4, store the result in register 4
- Add registers 1 and 4, store the result in register 4