# expected: FFFFFFFFdead0000, FFFFFFFFdead0001, fffffffffffff800, ffffffffffffffff, 0000000000000000
    .text
_start:
    lui x2, 0xdead0
    lui x3, 0x0

    # Add 0
    addi x31, x2, 0x0

    # Basic addition
    addi x31, x2, 0x1

    # Sign extension
    addi x31, x3, -2048
    addi x31, x3, -1

    # Overflow
    addi x31, x31, 0x1
