blob: ce4000afaf8b4ce0316b8b090246ac6e7ad18987 [file] [log] [blame]
#if XLEN == 64
# define LREG ld
# define SREG sd
# define REGBYTES 8
#else
# define LREG lw
# define SREG sw
# define REGBYTES 4
#endif
.global main
main:
li s0, 0
li s1, 0x0200bff8
loop:
addi s0, s0, 1
LREG s2, 0(s1)
j loop