Files
fmn_processor/bench/tests/op/xori.s

13 lines
292 B
ArmAsm

# expected: 00000000, 000001EF
.text
_start:
# 1 XOR 1 should equal 0000000
addi x1, x0, -1
xori x31, x1, -1
addi x1, x0, 0x1BC
# Xor is involutive and commutative, applying it twice should give us the original operand
xori x1, x1, 0x1EF
xori x31, x1, 0x1BC