Files
fmn_processor/bench/tests/op/li.s
Albin Chaboissier 4c967431ed Adds a test for load immediate (li) pseudo instruction
This makes sure the other tests can build upon a sane base
2025-11-11 11:05:05 +01:00

10 lines
275 B
ArmAsm

# exepected: 1234567890ABCDEF, 00000000FFFFFFFF
# li is a PSEUDO-INSTRUCTION.
# This test makes sure we can reliably load 64bit words
# into the processor as it is essential for all other tests
.text
_start:
li x31, 0x1234567890ABCDEF
li x31, 0x00000000FFFFFFFF