diff options
Diffstat (limited to 'sim/testsuite/sh/dmxy.s')
-rw-r--r-- | sim/testsuite/sh/dmxy.s | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sim/testsuite/sh/dmxy.s b/sim/testsuite/sh/dmxy.s new file mode 100644 index 0000000..0e96963 --- /dev/null +++ b/sim/testsuite/sh/dmxy.s @@ -0,0 +1,21 @@ +# sh testcase for setdmx, setdmy, clrdmxy +# mach: shdsp +# as(shdsp): -defsym sim_cpu=1 -dsp + + .include "testutils.inc" + + start + set_grs_a5a5 + setdmx + test_sr_bit_set 0x400 + test_sr_bit_clear 0x800 + setdmy + test_sr_bit_clear 0x400 + test_sr_bit_set 0x800 + clrdmxy + test_sr_bit_clear 0x400 + test_sr_bit_clear 0x800 + + test_grs_a5a5 + pass + exit 0 |