risc-v-tlm/asm/trace2.asm

17 lines
205 B
NASM
Raw Normal View History

2018-09-20 05:52:48 +08:00
.equ TRACE_BASE, 0x40000000
.section .text
.globl _start
_start:
la a0, msg
1: li a2, TRACE_BASE
# addi a0, a0, 1
# j 1b
#.section .rodata
msg:
.string "Hello World\n"