mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 18:43:40 +02:00

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3082 8ced0084-cf51-0410-be5f-012b33b47a6e
61 lines
783 B
Plaintext
61 lines
783 B
Plaintext
; This test checks the effect of various SR flags over ifg and ifle
|
|
include "dsp_base.inc"
|
|
|
|
lri $IX0, #0x0000
|
|
lri $SR, #0x0001
|
|
|
|
ifl
|
|
lri $IX0, #0x1337
|
|
call send_back
|
|
|
|
ifge
|
|
lri $IX0, #0x1338
|
|
call send_back
|
|
|
|
lri $IX0, #0x0000
|
|
lri $SR, #0x0002
|
|
|
|
ifl
|
|
lri $IX0, #0x1337
|
|
call send_back
|
|
|
|
ifge
|
|
lri $IX0, #0x1338
|
|
call send_back
|
|
|
|
lri $IX0, #0x0000
|
|
lri $SR, #0x0004
|
|
|
|
ifl
|
|
lri $IX0, #0x1337
|
|
call send_back
|
|
|
|
ifge
|
|
lri $IX0, #0x1338
|
|
call send_back
|
|
|
|
lri $IX0, #0x0000
|
|
lri $SR, #0x0008
|
|
|
|
ifl
|
|
lri $IX0, #0x1337
|
|
call send_back
|
|
|
|
ifge
|
|
lri $IX0, #0x1338
|
|
call send_back
|
|
|
|
lri $IX0, #0x0000
|
|
lri $SR, #0x000a
|
|
|
|
ifl
|
|
lri $IX0, #0x1337
|
|
call send_back
|
|
|
|
ifge
|
|
lri $IX0, #0x1338
|
|
call send_back
|
|
|
|
; We're done, DO NOT DELETE THIS LINE
|
|
jmp end_of_test
|