From 0c4c35d732996072058e029fff3bc17574df80e4 Mon Sep 17 00:00:00 2001 From: luigi2us Date: Mon, 15 Jun 2009 17:00:32 +0000 Subject: [PATCH] Add a basic test that reads unknown regs (0xFF8X). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3452 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/DSPSpy/tests/unk_regs_test.ds | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Source/DSPSpy/tests/unk_regs_test.ds diff --git a/Source/DSPSpy/tests/unk_regs_test.ds b/Source/DSPSpy/tests/unk_regs_test.ds new file mode 100644 index 0000000000..2baa0b7656 --- /dev/null +++ b/Source/DSPSpy/tests/unk_regs_test.ds @@ -0,0 +1,49 @@ +incdir "tests" +include "dsp_base.inc" + +; Reads regs from 0xFF80 to 0xFF8D and sends them back + + lr $AC0.M, @0xff80 + call send_back + + lr $AC0.M, @0xff81 + call send_back + + lr $AC0.M, @0xff82 + call send_back + + lr $AC0.M, @0xff83 + call send_back + + lr $AC0.M, @0xff84 + call send_back + + lr $AC0.M, @0xff85 + call send_back + + lr $AC0.M, @0xff86 + call send_back + + lr $AC0.M, @0xff87 + call send_back + + lr $AC0.M, @0xff88 + call send_back + + lr $AC0.M, @0xff89 + call send_back + + lr $AC0.M, @0xff8A + call send_back + + lr $AC0.M, @0xff8B + call send_back + + lr $AC0.M, @0xff8C + call send_back + + lr $AC0.M, @0xff8D + call send_back + +; We're done, DO NOT DELETE THIS LINE + jmp end_of_test