risc-v-tlm/asm/BasicRegisters.asm

12 lines
133 B
NASM
Raw Normal View History

2018-09-20 05:52:48 +08:00
.section .text
.globl _start
_start:
2018-09-11 00:44:54 +08:00
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