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

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