risc-v-tlm/asm/EternalLoop.asm

13 lines
130 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
loop:
ADD t4, t1, t2
ADD t5, t2, t3
SUB t6, t2, t1
J loop