Files
Albin Chaboissier 9daa296892 Lays groundword for Rv64i extension
Some base files had to be modified to support 64-bit architecture
as well as the Makefile to load 64-bit words into memory
2025-11-10 16:38:40 +01:00

17 lines
273 B
ArmAsm

# expected: ffffffffdead0000, ffffffffdead0001, 0000000000000000
.text
_start:
lui x2, 0xdead0
lui x3, 0x0
addi x4, x0, 0x1
addi x5, x0, (-1)
# Add 0
add x31, x2, x3
# Basic addition
add x31, x2, x4
# Overflow
add x31, x5, x4