mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 13:34:28 +00:00
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
|
|
|