1 # fr30 testcase for dmovb
4 .include "testutils.inc"
10 ; Test dmovb @$dir8,$R13
11 mvi_h_gr 0xdeadbeef,r1
14 set_cc 0x0f ; Condition codes shouldn't change
17 test_h_gr 0xffffffde,r13
19 ; Test dmovb $R13,@$dir8
20 mvi_h_gr 0xbeefdead,r13
21 set_cc 0x0e ; Condition codes shouldn't change
24 test_h_mem 0xadadbeef,r2
26 ; Test dmovb @$dir8,@R13+
28 mvi_h_mem 0xdeadbeef,r13
29 set_cc 0x0d ; Condition codes shouldn't change
33 test_h_mem 0xefadbeef,r2
36 ; Test dmovb @$R13+,@$dir8
38 mvi_h_mem 0xbeefdead,r13
39 set_cc 0x0c ; Condition codes shouldn't change
43 test_h_mem 0xbeefdebe,r2