picorv32/spiflash/firmware.s

9 lines
168 B
ArmAsm
Raw Normal View History

2017-07-29 22:01:39 +08:00
start:
li x1,0xc0000000
sw x0,0(x0)
loop: lw x2,0(x0)
addi x2,x2,1
sw x2,0(x1)
sw x2,0(x0)
j loop