test for ld

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3842 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-07-19 06:49:03 +00:00
parent 45d9d3191b
commit 9d90f1868c
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
; This test verifies LD
incdir "tests"
include "dsp_base.inc"
lri $AR3, #0x0050
si @0x0050, #0x44
lri $AX0.L, #0x77
lri $AX1.L, #0x22
nx'ld : $AX0.L, $AX1.L, @$AR3
call send_back ; 1
lri $AR2, #0x0040
si @0x0040, #0x66
lri $AX0.L, #0x23
lri $AX1.L, #0x64
nx'ld : $AX0.L, $AX1.L, @$AR2
call send_back ; 2
lri $AR3,
si @0x7fe0, #0x11
lri $AX0.L, #0x43
lri $AX1.L, #0x53
nx'ld : $AX0.L, $AX1.L, @$AR3
call send_back ; 3