mirror of
https://github.com/mupen64plus-ae/parallel-rsp.git
synced 2024-11-23 05:29:39 +00:00
Add lb/lbu/lh/lhu test (aligned).
This commit is contained in:
parent
71237ada02
commit
02dd79980c
@ -118,4 +118,8 @@ if (PARALLEL_RSP_TESTS)
|
||||
rsp_add_test(ori)
|
||||
rsp_add_test(xori)
|
||||
rsp_add_test(lui)
|
||||
rsp_add_test(lb)
|
||||
rsp_add_test(lbu)
|
||||
rsp_add_test(lh)
|
||||
rsp_add_test(lhu)
|
||||
endif()
|
||||
|
11
debug-toolchain/lb.s
Normal file
11
debug-toolchain/lb.s
Normal file
@ -0,0 +1,11 @@
|
||||
.data
|
||||
.byte 0, 0, 0
|
||||
foobar:
|
||||
.byte 0x72, 0x91
|
||||
|
||||
.text
|
||||
.global main
|
||||
main:
|
||||
la $t1, foobar
|
||||
lb $t0, 1($t1)
|
||||
break
|
11
debug-toolchain/lbu.s
Normal file
11
debug-toolchain/lbu.s
Normal file
@ -0,0 +1,11 @@
|
||||
.data
|
||||
.byte 0, 0, 0
|
||||
foobar:
|
||||
.byte 0x72, 0x91
|
||||
|
||||
.text
|
||||
.global main
|
||||
main:
|
||||
la $t1, foobar
|
||||
lbu $t0, 1($t1)
|
||||
break
|
11
debug-toolchain/lh.s
Normal file
11
debug-toolchain/lh.s
Normal file
@ -0,0 +1,11 @@
|
||||
.data
|
||||
.byte 0, 0, 0, 0
|
||||
foobar:
|
||||
.byte 0x92, 0x70
|
||||
|
||||
.text
|
||||
.global main
|
||||
main:
|
||||
la $t1, foobar
|
||||
lh $t0, 0($t1)
|
||||
break
|
11
debug-toolchain/lhu.s
Normal file
11
debug-toolchain/lhu.s
Normal file
@ -0,0 +1,11 @@
|
||||
.data
|
||||
.byte 0, 0, 0, 0
|
||||
foobar:
|
||||
.byte 0x92, 0x70
|
||||
|
||||
.text
|
||||
.global main
|
||||
main:
|
||||
la $t1, foobar
|
||||
lhu $t0, 0($t1)
|
||||
break
|
Loading…
Reference in New Issue
Block a user