risc-v-tlm/tests/asm/BasicRegisters.asm

13 lines
139 B
NASM
Raw Normal View History

2018-10-07 04:19:29 +08:00
.section .text
.globl _start
_start:
li t1, 150
li t2, 300
li t3, -250
ADD t4, t1, t2
ADD t5, t2, t3
SUB t6, t2, t1
#SUB t7, t1, t2
ECALL