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

13 lines
130 B
NASM

.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