forked from Github_Repos/cvw
4322694f7a
Still not working correctly with the icache. instr addr correct got
20 lines
159 B
ArmAsm
20 lines
159 B
ArmAsm
.section .text
|
|
.global lbu_test
|
|
.type lbu_test, @function
|
|
|
|
lbu_test:
|
|
|
|
li t0, 0x80000
|
|
lbu t1, 0(t0)
|
|
|
|
|
|
pass:
|
|
li a0, 0
|
|
done:
|
|
ret
|
|
|
|
fail:
|
|
li a0, -1
|
|
j done
|
|
|