data/method/gdb/gdb-13.2/sim/testsuite/sh/dmxy.s

22 lines
347 B
ArmAsm
Raw Normal View History

2024-01-29 10:44:43 +08:00
# 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