1 # fr30 testcase for eorh $Rj,$Ri, eorh $Rj,@$Ri
4 .include "testutils.inc"
12 mvi_h_gr 0xaaaaaaaa,r7
13 mvi_h_mem 0x55555555,sp
14 set_cc 0x07 ; Set mask opposite of expected
17 test_h_mem 0xffff5555,sp
19 mvi_h_gr 0xaaaa0000,r7
20 mvi_h_mem 0x00005555,sp
21 set_cc 0x08 ; Set mask opposite of expected
24 test_h_mem 0x00005555,sp
26 mvi_h_gr 0xaaaa5555,r7
27 mvi_h_mem 0x5555aaaa,sp
28 set_cc 0x0b ; Set mask opposite of expected
31 test_h_mem 0x0000aaaa,sp
33 mvi_h_gr 0x0000de00,r7
34 mvi_h_mem 0x00adbeef,sp
35 set_cc 0x05 ; Set mask opposite of expected
38 test_h_mem 0xdeadbeef,sp