few fixes for arith test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3599 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
63547535a1
commit
e1e9d609ed
|
@ -9,52 +9,42 @@ tst $acc0
|
|||
|
||||
call send_back ; 1
|
||||
|
||||
clr $acc1
|
||||
tst $acc1
|
||||
|
||||
lri $ac0.h, #0x0011
|
||||
lri $ac0.m, #0x0100
|
||||
lri $ac0.l, #0x0101
|
||||
lsl $acc0, #1
|
||||
|
||||
call send_back ; 2
|
||||
|
||||
set16
|
||||
tst $acc0
|
||||
set40
|
||||
|
||||
call send_back ; 3
|
||||
|
||||
lri $ac0.h, #0x1111
|
||||
lri $ac0.m, #0x0100
|
||||
lri $ac0.l, #0x0001
|
||||
lsl $acc0, #1
|
||||
|
||||
call send_back ; 4
|
||||
|
||||
lri $ac0.h, #0x1111
|
||||
lri $ac0.h, #0x0011
|
||||
lri $ac0.m, #0x0100
|
||||
lri $ac0.l, #0x0001
|
||||
asl $acc0, #1
|
||||
|
||||
call send_back ; 5
|
||||
call send_back ; 3
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.h, #0x1111
|
||||
lri $ac0.h, #0x0011
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 6
|
||||
call send_back ; 4
|
||||
|
||||
lri $ac0.m, #0x0100
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 7
|
||||
call send_back ; 5
|
||||
|
||||
lri $ac0.l, #0x0001
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 8
|
||||
call send_back ; 6
|
||||
clr $acc0
|
||||
|
||||
lri $ac0.l, #-1
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 9
|
||||
call send_back ; 7
|
||||
|
||||
clr $acc0
|
||||
|
||||
|
@ -63,61 +53,78 @@ lri $ac0.l, #-1
|
|||
tst $acc0
|
||||
set40
|
||||
|
||||
call send_back ; 10
|
||||
call send_back ; 8
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.h, #0x1000
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 11
|
||||
call send_back ; 9
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.h, #0x0100
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 12
|
||||
call send_back ; 10
|
||||
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.h, #0x0010
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 13
|
||||
call send_back ; 11
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.h, #0x0001
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 14
|
||||
call send_back ; 12
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.l, #0x1000
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 15
|
||||
call send_back ; 13
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.l, #0x0100
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 16
|
||||
call send_back ; 14
|
||||
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.l, #0x0010
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 17
|
||||
call send_back ; 15
|
||||
|
||||
clr $acc0
|
||||
lri $ac0.l, #0x0001
|
||||
tst $acc0
|
||||
|
||||
call send_back ; 16
|
||||
|
||||
clr $acc0
|
||||
clr $acc1
|
||||
lri $ac0.l, #0x0001
|
||||
sub $acc1, $acc0
|
||||
|
||||
call send_back ; 17
|
||||
|
||||
clr $acc0
|
||||
clr $acc1
|
||||
set16
|
||||
lri $ac0.l, #0x0001
|
||||
sub $acc1, $acc0
|
||||
set40
|
||||
|
||||
call send_back ; 18
|
||||
|
||||
clr $acc0
|
||||
clr $acc1
|
||||
lri $ac0.l, #0x0001
|
||||
lri $ac1.h, #0x8000
|
||||
sub $acc1, $acc0
|
||||
|
||||
call send_back ; 19
|
||||
|
@ -126,25 +133,8 @@ clr $acc0
|
|||
clr $acc1
|
||||
set16
|
||||
lri $ac0.l, #0x0001
|
||||
lri $ac1.h, #0x8000
|
||||
sub $acc1, $acc0
|
||||
set40
|
||||
|
||||
call send_back ; 20
|
||||
|
||||
clr $acc0
|
||||
clr $acc1
|
||||
lri $ac0.l, #0x0001
|
||||
lri $ac1.h, #0x8000
|
||||
sub $acc1, $acc0
|
||||
|
||||
call send_back ; 21
|
||||
|
||||
clr $acc0
|
||||
clr $acc1
|
||||
set16
|
||||
lri $ac0.l, #0x0001
|
||||
lri $ac1.h, #0x8000
|
||||
sub $acc1, $acc0
|
||||
set40
|
||||
|
||||
call send_back ; 22
|
||||
|
|
Loading…
Reference in New Issue