Home | History | Annotate | Line # | Download | only in h8300
      1  1.1  christos # Hitachi H8 testcase 'mova'
      2  1.1  christos # mach(): h8sx
      3  1.1  christos # as(h8300):	--defsym sim_cpu=0
      4  1.1  christos # as(h8300h):	--defsym sim_cpu=1
      5  1.1  christos # as(h8300s):	--defsym sim_cpu=2
      6  1.1  christos # as(h8sx):	--defsym sim_cpu=3
      7  1.1  christos # ld(h8300h):	-m h8300helf
      8  1.1  christos # ld(h8300s):	-m h8300self
      9  1.1  christos # ld(h8sx):	-m h8300sxelf
     10  1.1  christos 
     11  1.1  christos 	.include "testutils.inc"
     12  1.1  christos 
     13  1.1  christos 	.data
     14  1.1  christos foo:	.long	0x01010101
     15  1.1  christos 	.long	0x10101010
     16  1.1  christos 	.long	0x11111111
     17  1.1  christos 
     18  1.1  christos 	start
     19  1.1  christos 
     20  1.1  christos movabl16_reg8:
     21  1.1  christos 	set_grs_a5a5
     22  1.1  christos 	set_ccr_zero
     23  1.1  christos 
     24  1.1  christos 	mova/b.l	@(1:16, r2l.b), er3
     25  1.1  christos 
     26  1.1  christos 	test_cc_clear
     27  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
     28  1.1  christos 	test_gr_a5a5	1
     29  1.1  christos 	test_gr_a5a5	2
     30  1.1  christos 	test_h_gr32	0xa6 er3
     31  1.1  christos 	test_gr_a5a5	4
     32  1.1  christos 	test_gr_a5a5	5
     33  1.1  christos 	test_gr_a5a5	6
     34  1.1  christos 	test_gr_a5a5	7
     35  1.1  christos 
     36  1.1  christos movabl16_reg16:
     37  1.1  christos 	set_grs_a5a5
     38  1.1  christos 	set_ccr_zero
     39  1.1  christos 
     40  1.1  christos 	mova/b.l	@(1:16, r2.w), er3
     41  1.1  christos 
     42  1.1  christos 	test_cc_clear
     43  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
     44  1.1  christos 	test_gr_a5a5	1
     45  1.1  christos 	test_gr_a5a5	2
     46  1.1  christos 	test_h_gr32	0xa5a6 er3
     47  1.1  christos 	test_gr_a5a5	4
     48  1.1  christos 	test_gr_a5a5	5
     49  1.1  christos 	test_gr_a5a5	6
     50  1.1  christos 	test_gr_a5a5	7
     51  1.1  christos 
     52  1.1  christos movabl32_reg8:
     53  1.1  christos 	set_grs_a5a5
     54  1.1  christos 	set_ccr_zero
     55  1.1  christos 
     56  1.1  christos 	mova/b.l	@(1:32, r2l.b), er3
     57  1.1  christos 
     58  1.1  christos 	test_cc_clear
     59  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
     60  1.1  christos 	test_gr_a5a5	1
     61  1.1  christos 	test_gr_a5a5	2
     62  1.1  christos 	test_h_gr32	0xa6 er3
     63  1.1  christos 	test_gr_a5a5	4
     64  1.1  christos 	test_gr_a5a5	5
     65  1.1  christos 	test_gr_a5a5	6
     66  1.1  christos 	test_gr_a5a5	7
     67  1.1  christos 
     68  1.1  christos movabl32_reg16:
     69  1.1  christos 	set_grs_a5a5
     70  1.1  christos 	set_ccr_zero
     71  1.1  christos 
     72  1.1  christos 	mova/b.l	@(1:32, r2.w), er3
     73  1.1  christos 
     74  1.1  christos 	test_cc_clear
     75  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
     76  1.1  christos 	test_gr_a5a5	1
     77  1.1  christos 	test_gr_a5a5	2
     78  1.1  christos 	test_h_gr32	0xa5a6 er3
     79  1.1  christos 	test_gr_a5a5	4
     80  1.1  christos 	test_gr_a5a5	5
     81  1.1  christos 	test_gr_a5a5	6
     82  1.1  christos 	test_gr_a5a5	7
     83  1.1  christos 
     84  1.1  christos movawl16_reg8:
     85  1.1  christos 	set_grs_a5a5
     86  1.1  christos 	set_ccr_zero
     87  1.1  christos 
     88  1.1  christos 	mova/w.l	@(1:16, r2l.b), er3
     89  1.1  christos 
     90  1.1  christos 	test_cc_clear
     91  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
     92  1.1  christos 	test_gr_a5a5	1
     93  1.1  christos 	test_gr_a5a5	2
     94  1.1  christos 	test_h_gr32	0x14b er3
     95  1.1  christos 	test_gr_a5a5	4
     96  1.1  christos 	test_gr_a5a5	5
     97  1.1  christos 	test_gr_a5a5	6
     98  1.1  christos 	test_gr_a5a5	7
     99  1.1  christos 
    100  1.1  christos movawl16_reg16:
    101  1.1  christos 	set_grs_a5a5
    102  1.1  christos 	set_ccr_zero
    103  1.1  christos 
    104  1.1  christos 	mova/w.l	@(1:16, r2.w), er3
    105  1.1  christos 
    106  1.1  christos 	test_cc_clear
    107  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    108  1.1  christos 	test_gr_a5a5	1
    109  1.1  christos 	test_gr_a5a5	2
    110  1.1  christos 	test_h_gr32	0x14b4b er3
    111  1.1  christos 	test_gr_a5a5	4
    112  1.1  christos 	test_gr_a5a5	5
    113  1.1  christos 	test_gr_a5a5	6
    114  1.1  christos 	test_gr_a5a5	7
    115  1.1  christos 
    116  1.1  christos movawl32_reg8:
    117  1.1  christos 	set_grs_a5a5
    118  1.1  christos 	set_ccr_zero
    119  1.1  christos 
    120  1.1  christos 	mova/w.l	@(1:32, r2l.b), er3
    121  1.1  christos 
    122  1.1  christos 	test_cc_clear
    123  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    124  1.1  christos 	test_gr_a5a5	1
    125  1.1  christos 	test_gr_a5a5	2
    126  1.1  christos 	test_h_gr32	0x14b er3
    127  1.1  christos 	test_gr_a5a5	4
    128  1.1  christos 	test_gr_a5a5	5
    129  1.1  christos 	test_gr_a5a5	6
    130  1.1  christos 	test_gr_a5a5	7
    131  1.1  christos 
    132  1.1  christos movawl32_reg16:
    133  1.1  christos 	set_grs_a5a5
    134  1.1  christos 	set_ccr_zero
    135  1.1  christos 
    136  1.1  christos 	mova/w.l	@(1:32, r2.w), er3
    137  1.1  christos 
    138  1.1  christos 	test_cc_clear
    139  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    140  1.1  christos 	test_gr_a5a5	1
    141  1.1  christos 	test_gr_a5a5	2
    142  1.1  christos 	test_h_gr32	0x14b4b er3
    143  1.1  christos 	test_gr_a5a5	4
    144  1.1  christos 	test_gr_a5a5	5
    145  1.1  christos 	test_gr_a5a5	6
    146  1.1  christos 	test_gr_a5a5	7
    147  1.1  christos 
    148  1.1  christos movall16_reg8:
    149  1.1  christos 	set_grs_a5a5
    150  1.1  christos 	set_ccr_zero
    151  1.1  christos 
    152  1.1  christos 	mova/l.l	@(1:16, r2l.b), er3
    153  1.1  christos 
    154  1.1  christos 	test_cc_clear
    155  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    156  1.1  christos 	test_gr_a5a5	1
    157  1.1  christos 	test_gr_a5a5	2
    158  1.1  christos 	test_h_gr32	0x295 er3
    159  1.1  christos 	test_gr_a5a5	4
    160  1.1  christos 	test_gr_a5a5	5
    161  1.1  christos 	test_gr_a5a5	6
    162  1.1  christos 	test_gr_a5a5	7
    163  1.1  christos 
    164  1.1  christos movall16_reg16:
    165  1.1  christos 	set_grs_a5a5
    166  1.1  christos 	set_ccr_zero
    167  1.1  christos 
    168  1.1  christos 	mova/l.l	@(1:16, r2.w), er3
    169  1.1  christos 
    170  1.1  christos 	test_cc_clear
    171  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    172  1.1  christos 	test_gr_a5a5	1
    173  1.1  christos 	test_gr_a5a5	2
    174  1.1  christos 	test_h_gr32	0x29695 er3
    175  1.1  christos 	test_gr_a5a5	4
    176  1.1  christos 	test_gr_a5a5	5
    177  1.1  christos 	test_gr_a5a5	6
    178  1.1  christos 	test_gr_a5a5	7
    179  1.1  christos 
    180  1.1  christos movall32_reg8:
    181  1.1  christos 	set_grs_a5a5
    182  1.1  christos 	set_ccr_zero
    183  1.1  christos 
    184  1.1  christos 	mova/l.l	@(1:32, r2l.b), er3
    185  1.1  christos 
    186  1.1  christos 	test_cc_clear
    187  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    188  1.1  christos 	test_gr_a5a5	1
    189  1.1  christos 	test_gr_a5a5	2
    190  1.1  christos 	test_h_gr32	0x295 er3
    191  1.1  christos 	test_gr_a5a5	4
    192  1.1  christos 	test_gr_a5a5	5
    193  1.1  christos 	test_gr_a5a5	6
    194  1.1  christos 	test_gr_a5a5	7
    195  1.1  christos 
    196  1.1  christos movall32_reg16:
    197  1.1  christos 	set_grs_a5a5
    198  1.1  christos 	set_ccr_zero
    199  1.1  christos 
    200  1.1  christos 	mova/l.l	@(1:32, r2.w), er3
    201  1.1  christos 
    202  1.1  christos 	test_cc_clear
    203  1.1  christos 	test_gr_a5a5	0	; Make sure other regs not affected
    204  1.1  christos 	test_gr_a5a5	1
    205  1.1  christos 	test_gr_a5a5	2
    206  1.1  christos 	test_h_gr32	0x29695 er3
    207  1.1  christos 	test_gr_a5a5	4
    208  1.1  christos 	test_gr_a5a5	5
    209  1.1  christos 	test_gr_a5a5	6
    210  1.1  christos 	test_gr_a5a5	7
    211  1.1  christos 
    212  1.1  christos t02_mova:
    213  1.1  christos 	set_grs_a5a5
    214  1.1  christos 	set_ccr_zero
    215  1.1  christos 
    216  1.1  christos 	mov.l	#0x01010101, er1
    217  1.1  christos 	mova/b.c @(0x1234:16,r1l.b),er1 ; 7A891234
    218  1.1  christos 	test_h_gr32	0x1235, er1 ; 1s
    219  1.1  christos 	mov.l	#0x01010101, er1
    220  1.1  christos 	mova/b.c @(0x1234:16,r1.w),er1 ; 7A991234
    221  1.1  christos 	test_h_gr32	0x1335, er1 ; 2s
    222  1.1  christos 	mov.l	#0x01010101, er1
    223  1.1  christos 	mova/w.c @(0x1234:16,r1l.b),er1 ; 7AA91234
    224  1.1  christos 	test_h_gr32	0x1236, er1 ; 3s
    225  1.1  christos 	mov.l	#0x01010101, er1
    226  1.1  christos 	mova/w.c @(0x1234:16,r1.w),er1 ; 7AB91234
    227  1.1  christos 	test_h_gr32	0x1436, er1 ; 4s
    228  1.1  christos 	mov.l	#0x01010101, er1
    229  1.1  christos 	mova/l.c @(0x1234:16,r1l.b),er1 ; 7AC91234
    230  1.1  christos 	test_h_gr32	0x1238, er1 ; 5s
    231  1.1  christos 	mov.l	#0x01010101, er1
    232  1.1  christos 	mova/l.c @(0x1234:16,r1.w),er1 ; 7AD91234
    233  1.1  christos 	test_h_gr32	0x1638, er1 ; 6s
    234  1.1  christos 	mov.l	#0x01010101, er1
    235  1.1  christos 	mova/b.c @(0x12345678:32,r1l.b),er1 ; 7A8112345678
    236  1.1  christos 	test_h_gr32	0x12345679, er1	; 7s
    237  1.1  christos 	mov.l	#0x01010101, er1
    238  1.1  christos 	mova/b.c @(0x12345678:32,r1.w),er1 ; 7A9112345678
    239  1.1  christos 	test_h_gr32	0x12345779, er1	; 8s
    240  1.1  christos 	mov.l	#0x01010101, er1
    241  1.1  christos 	mova/w.c @(0x12345678:32,r1l.b),er1 ; 7AA112345678
    242  1.1  christos 	test_h_gr32	0x1234567a, er1	; 9s
    243  1.1  christos 	mov.l	#0x01010101, er1
    244  1.1  christos 	mova/w.c @(0x12345678:32,r1.w),er1 ; 7AB112345678
    245  1.1  christos 	test_h_gr32	0x1234587a, er1	; 10s
    246  1.1  christos 	mov.l	#0x01010101, er1
    247  1.1  christos 	mova/l.c @(0x12345678:32,r1l.b),er1 ; 7AC112345678
    248  1.1  christos 	test_h_gr32	0x1234567c, er1	; 11s
    249  1.1  christos 	mov.l	#0x01010101, er1
    250  1.1  christos 	mova/l.c @(0x12345678:32,r1.w),er1 ; 7AD112345678
    251  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 12s
    252  1.1  christos 
    253  1.1  christos t02b:
    254  1.1  christos 	mov.l	#0x01010101, er3
    255  1.1  christos 	mova/b.l @(0x1234:16,r3l.b),er1 ; 78B87A891234
    256  1.1  christos 	test_h_gr32	0x1235, er1 ; 1
    257  1.1  christos 	mova/b.l @(0x1234:16,r3.w),er1 ; 78397A991234
    258  1.1  christos 	test_h_gr32	0x1335, er1 ; 2
    259  1.1  christos 	mova/w.l @(0x1234:16,r3l.b),er1 ; 78B87AA91234
    260  1.1  christos 	test_h_gr32	0x1236, er1 ; 3
    261  1.1  christos 	mova/w.l @(0x1234:16,r3.w),er1 ; 78397AB91234
    262  1.1  christos 	test_h_gr32	0x1436, er1 ; 4
    263  1.1  christos 	mova/l.l @(0x1234:16,r3l.b),er1 ; 78B87AC91234
    264  1.1  christos 	test_h_gr32	0x1238, er1 ; 5
    265  1.1  christos 	mova/l.l @(0x1234:16,r3.w),er1 ; 78397AD91234
    266  1.1  christos 	test_h_gr32	0x1638, er1 ; 6
    267  1.1  christos 	mova/b.l @(0x12345678:32,r3l.b),er1 ; 78B87A8112345678
    268  1.1  christos 	test_h_gr32	0x12345679, er1	; 7
    269  1.1  christos 	mova/b.l @(0x12345678:32,r3.w),er1 ; 78397A9112345678
    270  1.1  christos 	test_h_gr32	0x12345779, er1	; 8
    271  1.1  christos 	mova/w.l @(0x12345678:32,r3l.b),er1 ; 78B87AA112345678
    272  1.1  christos 	test_h_gr32	0x1234567a, er1	; 9
    273  1.1  christos 	mova/w.l @(0x12345678:32,r3.w),er1 ; 78397AB112345678
    274  1.1  christos 	test_h_gr32	0x1234587a, er1	; 10
    275  1.1  christos 	mova/l.l @(0x12345678:32,r3l.b),er1 ; 78B87AC112345678
    276  1.1  christos 	test_h_gr32	0x1234567c, er1	; 11
    277  1.1  christos 	mova/l.l @(0x12345678:32,r3.w),er1 ; 78397AD112345678
    278  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 12
    279  1.1  christos 	test_h_gr32	0x01010101, er3
    280  1.1  christos t02c:
    281  1.1  christos 	mov.l	#foo, er2
    282  1.1  christos 	mova/b.l @(0x1234:16,@er2.b),er1              ;017F02811234
    283  1.1  christos 	test_h_gr32	0x1235, er1 ; 13
    284  1.1  christos 	test_h_gr32	foo, er2
    285  1.1  christos 	mova/b.l @(0x1234:16,@(0x1:2,er2).b),er1       ;017F12811234
    286  1.1  christos 	test_h_gr32	0x1235, er1 ; 18
    287  1.1  christos 	test_h_gr32	foo, er2
    288  1.1  christos 	mova/b.l @(0x1234:16,@er2+.b),er1             ;017F82811234
    289  1.1  christos 	test_h_gr32	0x1235, er1 ; 14
    290  1.1  christos 	test_h_gr32	foo+1, er2
    291  1.1  christos 	mova/b.l @(0x1234:16,@-er2.b),er1             ;017FB2811234
    292  1.1  christos 	test_h_gr32	0x1235, er1 ; 17
    293  1.1  christos 	test_h_gr32	foo, er2
    294  1.1  christos 	mova/b.l @(0x1234:16,@+er2.b),er1             ;017F92811234
    295  1.1  christos 	test_h_gr32	0x1235, er1 ; 16
    296  1.1  christos 	test_h_gr32	foo+1, er2
    297  1.1  christos 	mova/b.l @(0x1234:16,@er2-.b),er1             ;017FA2811234
    298  1.1  christos 	test_h_gr32	0x1235, er1 ; 15
    299  1.1  christos 	test_h_gr32	foo, er2
    300  1.1  christos t02d:
    301  1.1  christos 	mov.l	#4, er2
    302  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, er2).b), er1
    303  1.1  christos 	test_h_gr32	0x1244, er1 ; 19
    304  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, r2L.b).b), er1
    305  1.1  christos 	test_h_gr32	0x1244, er1 ; 21
    306  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, r2.w).b), er1
    307  1.1  christos 	test_h_gr32	0x1244, er1 ; 22
    308  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, er2.l).b), er1
    309  1.1  christos 	test_h_gr32	0x1244, er1 ; 23
    310  1.1  christos 
    311  1.1  christos 	mov.l	#4, er2
    312  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, er2).b), er1
    313  1.1  christos 	test_h_gr32	0x1244, er1 ; 20
    314  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, r2L.b).b), er1
    315  1.1  christos 	test_h_gr32	0x1244, er1 ; 24
    316  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, r2.w).b), er1
    317  1.1  christos 	test_h_gr32	0x1244, er1 ; 25
    318  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, er2.l).b), er1
    319  1.1  christos 	test_h_gr32	0x1244, er1 ; 26
    320  1.1  christos 
    321  1.1  christos 	mova/b.l @(0x1234:16,@foo:16.b),er1
    322  1.1  christos 	test_h_gr32	0x1235, er1 ; 27
    323  1.1  christos 	mova/b.l @(0x1234:16,@foo:32.b),er1
    324  1.1  christos 	test_h_gr32	0x1235, er1 ; 28
    325  1.1  christos 
    326  1.1  christos t02e:
    327  1.1  christos 	mov.l	#foo, er2
    328  1.1  christos 	mova/b.l @(0x1234:16,@er2.w),er1              ;015F02911234
    329  1.1  christos 	test_h_gr32	0x1335, er1 ; 29
    330  1.1  christos 	test_h_gr32	foo, er2
    331  1.1  christos 	mova/b.l @(0x1234:16,@(0x2:2,er2).w),er1    ;015F12911234
    332  1.1  christos 	test_h_gr32	0x1335, er1 ; 34
    333  1.1  christos 	test_h_gr32	foo, er2
    334  1.1  christos 	mova/b.l @(0x1234:16,@er2+.w),er1             ;015F82911234
    335  1.1  christos 	test_h_gr32	0x1335, er1 ; 30
    336  1.1  christos 	test_h_gr32	foo+2, er2
    337  1.1  christos 	mova/b.l @(0x1234:16,@-er2.w),er1             ;015FB2911234
    338  1.1  christos 	test_h_gr32	0x1335, er1 ; 33
    339  1.1  christos 	test_h_gr32	foo, er2
    340  1.1  christos 	mova/b.l @(0x1234:16,@+er2.w),er1             ;015F92911234
    341  1.1  christos 	test_h_gr32	0x1335, er1 ; 32
    342  1.1  christos 	test_h_gr32	foo+2, er2
    343  1.1  christos 	mova/b.l @(0x1234:16,@er2-.w),er1             ;015FA2911234
    344  1.1  christos 	test_h_gr32	0x1335, er1 ; 31
    345  1.1  christos 	test_h_gr32	foo, er2
    346  1.1  christos 
    347  1.1  christos 	mov.l	#4, er2
    348  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, er2).w), er1
    349  1.1  christos 	test_h_gr32	0x2244, er1 ; 35
    350  1.1  christos 	shar.l	er2
    351  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, r2L.b).w), er1
    352  1.1  christos 	test_h_gr32	0x2244, er1 ; 37
    353  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, r2.w).w), er1
    354  1.1  christos 	test_h_gr32	0x2244, er1 ; 38
    355  1.1  christos 	mova/b.l @(0x1234:16, @(foo:16, er2.l).w), er1
    356  1.1  christos 	test_h_gr32	0x2244, er1 ; 39
    357  1.1  christos 
    358  1.1  christos 	mov.l	#4, er2
    359  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, er2).w), er1
    360  1.1  christos 	test_h_gr32	0x2244, er1 ; 36
    361  1.1  christos 	shar.l	er2
    362  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, r2L.b).w), er1
    363  1.1  christos 	test_h_gr32	0x2244, er1 ; 40
    364  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, r2.w).w), er1
    365  1.1  christos 	test_h_gr32	0x2244, er1 ; 41
    366  1.1  christos 	mova/b.l @(0x1234:16, @(foo:32, er2.l).w), er1
    367  1.1  christos 	test_h_gr32	0x2244, er1 ; 42
    368  1.1  christos 
    369  1.1  christos 	mova/b.l @(0x1234:16,@foo:16.w),er1        ;015F40919ABC1234
    370  1.1  christos 	test_h_gr32	0x1335, er1 ; 43
    371  1.1  christos 	mova/b.l @(0x1234:16,@foo:32.w),er1        ;015F48919ABCDEF01234
    372  1.1  christos 	test_h_gr32	0x1335, er1 ; 44
    373  1.1  christos 
    374  1.1  christos t02f:
    375  1.1  christos 	mov.l	#foo, er2
    376  1.1  christos 	mova/w.l @(0x1234:16,@er2.b),er1           ;017F02A11234
    377  1.1  christos 	test_h_gr32	0x1236, er1 ; 45
    378  1.1  christos 	mova/w.l @(0x1234:16,@(0x1:2,er2).b),er1    ;017F12A11234
    379  1.1  christos 	test_h_gr32	0x1236, er1 ; 50
    380  1.1  christos 	mova/w.l @(0x1234:16,@er2+.b),er1          ;017F82A11234
    381  1.1  christos 	test_h_gr32	0x1236, er1 ; 46
    382  1.1  christos 	test_h_gr32	foo+1, er2
    383  1.1  christos 	mova/w.l @(0x1234:16,@-er2.b),er1          ;017FB2A11234
    384  1.1  christos 	test_h_gr32	0x1236, er1 ; 49
    385  1.1  christos 	test_h_gr32	foo, er2
    386  1.1  christos 	mova/w.l @(0x1234:16,@+er2.b),er1          ;017F92A11234
    387  1.1  christos 	test_h_gr32	0x1236, er1 ; 48
    388  1.1  christos 	test_h_gr32	foo+1, er2
    389  1.1  christos 	mova/w.l @(0x1234:16,@er2-.b),er1          ;017FA2A11234
    390  1.1  christos 	test_h_gr32	0x1236, er1 ; 47
    391  1.1  christos 	test_h_gr32	foo, er2
    392  1.1  christos 
    393  1.1  christos t02g:
    394  1.1  christos 	mov.l	#4, er2
    395  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, er2).b), er1
    396  1.1  christos 	test_h_gr32	0x1254, er1 ; 51
    397  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, r2L.b).b), er1
    398  1.1  christos 	test_h_gr32	0x1254, er1 ; 53
    399  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, r2.w).b), er1
    400  1.1  christos 	test_h_gr32	0x1254, er1 ; 54
    401  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, er2.l).b), er1
    402  1.1  christos 	test_h_gr32	0x1254, er1 ; 55
    403  1.1  christos 
    404  1.1  christos 	mov.l	#4, er2
    405  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, er2).b), er1
    406  1.1  christos 	test_h_gr32	0x1254, er1 ; 52
    407  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, r2L.b).b), er1
    408  1.1  christos 	test_h_gr32	0x1254, er1 ; 56
    409  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, r2.w).b), er1
    410  1.1  christos 	test_h_gr32	0x1254, er1 ; 57
    411  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, er2.l).b), er1
    412  1.1  christos 	test_h_gr32	0x1254, er1 ; 58
    413  1.1  christos 
    414  1.1  christos 	mova/w.l @(0x1234:16,@foo:16.b),er1        ;017F40A19ABC1234
    415  1.1  christos 	test_h_gr32	0x1236, er1 ; 59 (can't test -- points into the woods)
    416  1.1  christos 	mova/w.l @(0x1234:16,@foo:32.b),er1        ;017F48A19ABCDEF01234
    417  1.1  christos 	test_h_gr32	0x1236, er1 ; 60 (can't test -- points into the woods)
    418  1.1  christos 
    419  1.1  christos t02h:
    420  1.1  christos 	mov.l	#foo, er2
    421  1.1  christos 	mova/w.l @(0x1234:16,@er2.w),er1           ;015F02B11234
    422  1.1  christos 	test_h_gr32	0x1436, er1 ; 61
    423  1.1  christos 	mova/w.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12B11234
    424  1.1  christos 	test_h_gr32	0x1436, er1 ; 66, 0x1234 + (@(4+foo).w << 1
    425  1.1  christos 	mova/w.l @(0x1234:16,@er2+.w),er1          ;015F82B11234
    426  1.1  christos 	test_h_gr32	0x1436, er1 ; 62
    427  1.1  christos 	test_h_gr32	foo+2, er2
    428  1.1  christos 	mova/w.l @(0x1234:16,@-er2.w),er1          ;015FB2B11234
    429  1.1  christos 	test_h_gr32	0x1436, er1 ; 63
    430  1.1  christos 	test_h_gr32	foo, er2
    431  1.1  christos 	mova/w.l @(0x1234:16,@+er2.w),er1          ;015F92B11234
    432  1.1  christos 	test_h_gr32	0x1436, er1 ; 64
    433  1.1  christos 	test_h_gr32	foo+2, er2
    434  1.1  christos 	mova/w.l @(0x1234:16,@er2-.w),er1          ;015FA2B11234
    435  1.1  christos 	test_h_gr32	0x1436, er1 ; 65
    436  1.1  christos 	test_h_gr32	foo, er2
    437  1.1  christos t02i:
    438  1.1  christos 	mov.l	#4, er2
    439  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, er2).w), er1
    440  1.1  christos 	test_h_gr32	0x3254, er1 ; 67
    441  1.1  christos 	shar.l	er2
    442  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, r2L.b).w), er1
    443  1.1  christos 	test_h_gr32	0x3254, er1 ; 69
    444  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, r2.w).w), er1
    445  1.1  christos 	test_h_gr32	0x3254, er1 ; 70
    446  1.1  christos 	mova/w.l @(0x1234:16, @(foo:16, er2.l).w), er1
    447  1.1  christos 	test_h_gr32	0x3254, er1 ; 71
    448  1.1  christos 
    449  1.1  christos 	mov.l	#4, er2
    450  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, er2).w), er1
    451  1.1  christos 	test_h_gr32	0x3254, er1 ; 68
    452  1.1  christos 	shar.l	er2
    453  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, r2L.b).w), er1
    454  1.1  christos 	test_h_gr32	0x3254, er1 ; 72
    455  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, r2.w).w), er1
    456  1.1  christos 	test_h_gr32	0x3254, er1 ; 73
    457  1.1  christos 	mova/w.l @(0x1234:16, @(foo:32, er2.l).w), er1
    458  1.1  christos 	test_h_gr32	0x3254, er1 ; 74
    459  1.1  christos 
    460  1.1  christos 	mova/w.l @(0x1234:16,@foo:16.w),er1        ;015F40B19ABC1234
    461  1.1  christos 	test_h_gr32	0x1436, er1 ; 75 (can't test -- points into the woods)
    462  1.1  christos 	mova/w.l @(0x1234:16,@foo:32.w),er1        ;015F48B19ABCDEF01234
    463  1.1  christos 	test_h_gr32	0x1436, er1 ; 76 (can't test -- points into the woods)
    464  1.1  christos 
    465  1.1  christos t02j:
    466  1.1  christos 	mov.l	#foo, er2
    467  1.1  christos 	mova/l.l @(0x1234:16,@er2.b),er1           ;017F02C11234
    468  1.1  christos 	test_h_gr32	0x1238, er1 ; 77
    469  1.1  christos 	mova/l.l @(0x1234:16,@(0x1:2,er2).b),er1    ;017F12C11234
    470  1.1  christos 	test_h_gr32	0x1238, er1 ; 82
    471  1.1  christos 	mova/l.l @(0x1234:16,@er2+.b),er1          ;017F82C11234
    472  1.1  christos 	test_h_gr32	0x1238, er1 ; 78
    473  1.1  christos 	test_h_gr32	foo+1, er2
    474  1.1  christos 	mova/l.l @(0x1234:16,@-er2.b),er1          ;017FB2C11234
    475  1.1  christos 	test_h_gr32	0x1238, er1 ; 79
    476  1.1  christos 	test_h_gr32	foo, er2
    477  1.1  christos 	mova/l.l @(0x1234:16,@+er2.b),er1          ;017F92C11234
    478  1.1  christos 	test_h_gr32	0x1238, er1 ; 80
    479  1.1  christos 	test_h_gr32	foo+1, er2
    480  1.1  christos 	mova/l.l @(0x1234:16,@er2-.b),er1          ;017FA2C11234
    481  1.1  christos 	test_h_gr32	0x1238, er1 ; 81
    482  1.1  christos 	test_h_gr32	foo, er2
    483  1.1  christos 
    484  1.1  christos t02k:
    485  1.1  christos 	mov.l	#4, er2
    486  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, er2).b), er1
    487  1.1  christos 	test_h_gr32	0x1274, er1 ; 83
    488  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, r2L.b).b), er1
    489  1.1  christos 	test_h_gr32	0x1274, er1 ; 85
    490  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, r2.w).b), er1
    491  1.1  christos 	test_h_gr32	0x1274, er1 ; 86
    492  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, er2.l).b), er1
    493  1.1  christos 	test_h_gr32	0x1274, er1 ; 87
    494  1.1  christos 
    495  1.1  christos 	mov.l	#4, er2
    496  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, er2).b), er1
    497  1.1  christos 	test_h_gr32	0x1274, er1 ; 84
    498  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, r2L.b).b), er1
    499  1.1  christos 	test_h_gr32	0x1274, er1 ; 88
    500  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, r2.w).b), er1
    501  1.1  christos 	test_h_gr32	0x1274, er1 ; 89
    502  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, er2.l).b), er1
    503  1.1  christos 	test_h_gr32	0x1274, er1 ; 90
    504  1.1  christos 
    505  1.1  christos 	mova/l.l @(0x1234:16,@foo:16.b),er1        ;017F40C19ABC1234
    506  1.1  christos 	test_h_gr32	0x1238, er1 ; 91 (can't test -- points into the woods)
    507  1.1  christos 	mova/l.l @(0x1234:16,@foo:32.b),er1        ;017F48C19ABCDEF01234
    508  1.1  christos 	test_h_gr32	0x1238, er1 ; 92 (can't test -- points into the woods)
    509  1.1  christos 
    510  1.1  christos t02l:
    511  1.1  christos 	mov.l	#foo, er2
    512  1.1  christos 	mova/l.l @(0x1234:16,@er2.w),er1           ;015F02D11234
    513  1.1  christos 	test_h_gr32	0x1638, er1 ; 93
    514  1.1  christos 	mova/l.l @(0x1234:16,@(0x2:2,er2).w),er1   ;015F12D11234
    515  1.1  christos 	test_h_gr32	0x1638, er1 ; 98
    516  1.1  christos 	mova/l.l @(0x1234:16,@er2+.w),er1          ;015F82D11234
    517  1.1  christos 	test_h_gr32	0x1638, er1 ; 94
    518  1.1  christos 	test_h_gr32	foo+2, er2
    519  1.1  christos 	mova/l.l @(0x1234:16,@-er2.w),er1          ;015FB2D11234
    520  1.1  christos 	test_h_gr32	0x1638, er1 ; 97
    521  1.1  christos 	test_h_gr32	foo, er2
    522  1.1  christos 	mova/l.l @(0x1234:16,@+er2.w),er1          ;015F92D11234
    523  1.1  christos 	test_h_gr32	0x1638, er1 ; 96
    524  1.1  christos 	test_h_gr32	foo+2, er2
    525  1.1  christos 	mova/l.l @(0x1234:16,@er2-.w),er1          ;015FA2D11234
    526  1.1  christos 	test_h_gr32	0x1638, er1 ; 95
    527  1.1  christos 	test_h_gr32	foo, er2
    528  1.1  christos 
    529  1.1  christos t02o:
    530  1.1  christos 	mov.l	#4, er2
    531  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, er2).w), er1
    532  1.1  christos 	test_h_gr32	0x5274, er1 ; 99
    533  1.1  christos 	shar.l	er2
    534  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, r2L.b).w), er1
    535  1.1  christos 	test_h_gr32	0x5274, er1 ; 101
    536  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, r2.w).w), er1
    537  1.1  christos 	test_h_gr32	0x5274, er1 ; 102
    538  1.1  christos 	mova/l.l @(0x1234:16, @(foo:16, er2.l).w), er1
    539  1.1  christos 	test_h_gr32	0x5274, er1 ; 103
    540  1.1  christos 
    541  1.1  christos 	mov.l	#4, er2
    542  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, er2).w), er1
    543  1.1  christos 	test_h_gr32	0x5274, er1 ; 100
    544  1.1  christos 	shar.l	er2
    545  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, r2L.b).w), er1
    546  1.1  christos 	test_h_gr32	0x5274, er1 ; 104
    547  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, r2.w).w), er1
    548  1.1  christos 	test_h_gr32	0x5274, er1 ; 105
    549  1.1  christos 	mova/l.l @(0x1234:16, @(foo:32, er2.l).w), er1
    550  1.1  christos 	test_h_gr32	0x5274, er1 ; 106
    551  1.1  christos 
    552  1.1  christos 	mova/l.l @(0x1234:16,@foo:16.w),er1        ;015F40D19ABC1234
    553  1.1  christos 	test_h_gr32	0x1638, er1 ; 107 (can't test -- points into the woods)
    554  1.1  christos 	mova/l.l @(0x1234:16,@foo:32.w),er1        ;015F48D19ABCDEF01234
    555  1.1  christos 	test_h_gr32	0x1638, er1 ; 108 (can't test -- points into the woods)
    556  1.1  christos 
    557  1.1  christos t02p:
    558  1.1  christos 	mov.l	#foo, er2
    559  1.1  christos 	mova/b.l @(0x12345678:32,@er2.b),er1              ;017F028912345678
    560  1.1  christos 	test_h_gr32	0x12345679, er1	; 109
    561  1.1  christos 	mova/b.l @(0x12345678:32,@(0x1:2,er2).b),er1      ;017F128912345678
    562  1.1  christos 	test_h_gr32	0x12345679, er1	; 114
    563  1.1  christos 	mova/b.l @(0x12345678:32,@er2+.b),er1             ;017F828912345678
    564  1.1  christos 	test_h_gr32	0x12345679, er1	; 110
    565  1.1  christos 	test_h_gr32	foo+1, er2
    566  1.1  christos 	mova/b.l @(0x12345678:32,@-er2.b),er1             ;017FB28912345678
    567  1.1  christos 	test_h_gr32	0x12345679, er1	; 113
    568  1.1  christos 	test_h_gr32	foo, er2
    569  1.1  christos 	mova/b.l @(0x12345678:32,@+er2.b),er1             ;017F928912345678
    570  1.1  christos 	test_h_gr32	0x12345679, er1	; 112
    571  1.1  christos 	test_h_gr32	foo+1, er2
    572  1.1  christos 	mova/b.l @(0x12345678:32,@er2-.b),er1             ;017FA28912345678
    573  1.1  christos 	test_h_gr32	0x12345679, er1	; 111
    574  1.1  christos 	test_h_gr32	foo, er2
    575  1.1  christos 
    576  1.1  christos t02q:
    577  1.1  christos 	mov.l	#4, er2
    578  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, er2).b), er1
    579  1.1  christos 	test_h_gr32	0x12345688, er1 ; 115
    580  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, r2L.b).b), er1
    581  1.1  christos 	test_h_gr32	0x12345688, er1 ; 117
    582  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, r2.w).b), er1
    583  1.1  christos 	test_h_gr32	0x12345688, er1 ; 118
    584  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, er2.l).b), er1
    585  1.1  christos 	test_h_gr32	0x12345688, er1 ; 119
    586  1.1  christos 
    587  1.1  christos 	mov.l	#4, er2
    588  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, er2).b), er1
    589  1.1  christos 	test_h_gr32	0x12345688, er1 ; 116
    590  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, r2L.b).b), er1
    591  1.1  christos 	test_h_gr32	0x12345688, er1 ; 120
    592  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, r2.w).b), er1
    593  1.1  christos 	test_h_gr32	0x12345688, er1 ; 121
    594  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, er2.l).b), er1
    595  1.1  christos 	test_h_gr32	0x12345688, er1 ; 122
    596  1.1  christos 
    597  1.1  christos 	mova/b.l @(0x12345678:32,@foo:16.b),er1
    598  1.1  christos 	test_h_gr32	0x12345679, er1 ; 123
    599  1.1  christos 	mova/b.l @(0x12345678:32,@foo:32.b),er1
    600  1.1  christos 	test_h_gr32	0x12345679, er1 ; 124
    601  1.1  christos 
    602  1.1  christos t02r:
    603  1.1  christos 	mov.l	#foo, er2
    604  1.1  christos 	mova/b.l @(0x12345678:32,@er2.w),er1              ;015F029912345678
    605  1.1  christos 	test_h_gr32	0x12345779, er1	; 125
    606  1.1  christos 	mova/b.l @(0x12345678:32,@(0x2:2,er2).w),er1      ;015F129912345678
    607  1.1  christos 	test_h_gr32	0x12345779, er1 ; 130
    608  1.1  christos 	mova/b.l @(0x12345678:32,@er2+.w),er1             ;015F829912345678
    609  1.1  christos 	test_h_gr32	0x12345779, er1	; 126
    610  1.1  christos 	test_h_gr32	foo+2, er2
    611  1.1  christos 	mova/b.l @(0x12345678:32,@-er2.w),er1             ;015FB29912345678
    612  1.1  christos 	test_h_gr32	0x12345779, er1	; 129
    613  1.1  christos 	test_h_gr32	foo, er2
    614  1.1  christos 	mova/b.l @(0x12345678:32,@+er2.w),er1             ;015F929912345678
    615  1.1  christos 	test_h_gr32	0x12345779, er1 ; 128
    616  1.1  christos 	test_h_gr32	foo+2, er2
    617  1.1  christos 	mova/b.l @(0x12345678:32,@er2-.w),er1             ;015FA29912345678
    618  1.1  christos 	test_h_gr32	0x12345779, er1 ; 127
    619  1.1  christos 	test_h_gr32	foo, er2
    620  1.1  christos 
    621  1.1  christos 	mov.l	#4, er2
    622  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, er2).w), er1
    623  1.1  christos 	test_h_gr32	0x12346688, er1 ; 131
    624  1.1  christos 	shar.l	er2
    625  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, r2L.b).w), er1
    626  1.1  christos 	test_h_gr32	0x12346688, er1 ; 133
    627  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, r2.w).w), er1
    628  1.1  christos 	test_h_gr32	0x12346688, er1 ; 134
    629  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:16, er2.l).w), er1
    630  1.1  christos 	test_h_gr32	0x12346688, er1 ; 135
    631  1.1  christos 
    632  1.1  christos 	mov.l	#4, er2
    633  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, er2).w), er1
    634  1.1  christos 	test_h_gr32	0x12346688, er1 ; 132
    635  1.1  christos 	shar.l	er2
    636  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, r2L.b).w), er1
    637  1.1  christos 	test_h_gr32	0x12346688, er1 ; 136
    638  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, r2.w).w), er1
    639  1.1  christos 	test_h_gr32	0x12346688, er1 ; 137
    640  1.1  christos 	mova/b.l @(0x12345678:32, @(foo:32, er2.l).w), er1
    641  1.1  christos 	test_h_gr32	0x12346688, er1 ; 138
    642  1.1  christos 
    643  1.1  christos 	mova/b.l @(0x12345678:32,@foo:16.w),er1
    644  1.1  christos 	test_h_gr32	0x12345779, er1 ; 139
    645  1.1  christos 	mova/b.l @(0x12345678:32,@foo:32.w),er1
    646  1.1  christos 	test_h_gr32	0x12345779, er1 ; 140
    647  1.1  christos 
    648  1.1  christos t02s:
    649  1.1  christos 	mov.l	#foo, er2
    650  1.1  christos 	mova/w.l @(0x12345678:32,@er2.b),er1           ;017F02A912345678
    651  1.1  christos 	test_h_gr32	0x1234567a, er1	; 141
    652  1.1  christos 	mova/w.l @(0x12345678:32,@(0x1:2,er2).b),er1   ;017F12A912345678
    653  1.1  christos 	test_h_gr32	0x1234567a, er1	; 146
    654  1.1  christos 	mova/w.l @(0x12345678:32,@er2+.b),er1          ;017F82A912345678
    655  1.1  christos 	test_h_gr32	0x1234567a, er1	; 142
    656  1.1  christos 	test_h_gr32	foo+1, er2
    657  1.1  christos 	mova/w.l @(0x12345678:32,@-er2.b),er1          ;017FB2A912345678
    658  1.1  christos 	test_h_gr32	0x1234567a, er1	; 145
    659  1.1  christos 	test_h_gr32	foo, er2
    660  1.1  christos 	mova/w.l @(0x12345678:32,@+er2.b),er1          ;017F92A912345678
    661  1.1  christos 	test_h_gr32	0x1234567a, er1	; 144
    662  1.1  christos 	test_h_gr32	foo+1, er2
    663  1.1  christos 	mova/w.l @(0x12345678:32,@er2-.b),er1          ;017FA2A912345678
    664  1.1  christos 	test_h_gr32	0x1234567a, er1	; 143
    665  1.1  christos 	test_h_gr32	foo, er2
    666  1.1  christos 
    667  1.1  christos 	mov.l	#4, er2
    668  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, er2).b), er1
    669  1.1  christos 	test_h_gr32	0x12345698, er1 ; 147
    670  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, r2L.b).b), er1
    671  1.1  christos 	test_h_gr32	0x12345698, er1 ; 149
    672  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, r2.w).b), er1
    673  1.1  christos 	test_h_gr32	0x12345698, er1 ; 150
    674  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, er2.l).b), er1
    675  1.1  christos 	test_h_gr32	0x12345698, er1 ; 151
    676  1.1  christos 
    677  1.1  christos 	mov.l	#4, er2
    678  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, er2).b), er1
    679  1.1  christos 	test_h_gr32	0x12345698, er1 ; 148
    680  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, r2L.b).b), er1
    681  1.1  christos 	test_h_gr32	0x12345698, er1 ; 152
    682  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, r2.w).b), er1
    683  1.1  christos 	test_h_gr32	0x12345698, er1 ; 153
    684  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, er2.l).b), er1
    685  1.1  christos 	test_h_gr32	0x12345698, er1 ; 154
    686  1.1  christos 
    687  1.1  christos 	mova/w.l @(0x12345678:32,@foo:16.b),er1
    688  1.1  christos 	test_h_gr32	0x1234567a, er1 ; 155
    689  1.1  christos 	mova/w.l @(0x12345678:32,@foo:32.b),er1
    690  1.1  christos 	test_h_gr32	0x1234567a, er1 ; 156
    691  1.1  christos 
    692  1.1  christos t02t:
    693  1.1  christos 	mov.l	#foo, er2
    694  1.1  christos 	mova/w.l @(0x12345678:32,@er2.w),er1           ;015F02B912345678
    695  1.1  christos 	test_h_gr32	0x1234587a, er1	; 157
    696  1.1  christos 	mova/w.l @(0x12345678:32,@(0x2:2,er2).w),er1   ;015F12B912345678
    697  1.1  christos 	test_h_gr32	0x1234587a, er1	; 162
    698  1.1  christos 	mova/w.l @(0x12345678:32,@er2+.w),er1          ;015F82B912345678
    699  1.1  christos 	test_h_gr32	0x1234587a, er1	; 158
    700  1.1  christos 	test_h_gr32	foo+2, er2
    701  1.1  christos 	mova/w.l @(0x12345678:32,@-er2.w),er1          ;015FB2B912345678
    702  1.1  christos 	test_h_gr32	0x1234587a, er1	; 161
    703  1.1  christos 	test_h_gr32	foo, er2
    704  1.1  christos 	mova/w.l @(0x12345678:32,@+er2.w),er1          ;015F92B912345678
    705  1.1  christos 	test_h_gr32	0x1234587a, er1	; 160
    706  1.1  christos 	test_h_gr32	foo+2, er2
    707  1.1  christos 	mova/w.l @(0x12345678:32,@er2-.w),er1          ;015FA2B912345678
    708  1.1  christos 	test_h_gr32	0x1234587a, er1	; 159
    709  1.1  christos 	test_h_gr32	foo, er2
    710  1.1  christos 
    711  1.1  christos 	mov.l	#4, er2
    712  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, er2).w), er1
    713  1.1  christos 	test_h_gr32	0x12347698, er1 ; 163
    714  1.1  christos 	shar.l	er2
    715  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, r2L.b).w), er1
    716  1.1  christos 	test_h_gr32	0x12347698, er1 ; 165
    717  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, r2.w).w), er1
    718  1.1  christos 	test_h_gr32	0x12347698, er1 ; 166
    719  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:16, er2.l).w), er1
    720  1.1  christos 	test_h_gr32	0x12347698, er1 ; 167
    721  1.1  christos 
    722  1.1  christos 	mov.l	#4, er2
    723  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, er2).w), er1
    724  1.1  christos 	test_h_gr32	0x12347698, er1 ; 164
    725  1.1  christos 	shar.l	er2
    726  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, r2L.b).w), er1
    727  1.1  christos 	test_h_gr32	0x12347698, er1 ; 168
    728  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, r2.w).w), er1
    729  1.1  christos 	test_h_gr32	0x12347698, er1 ; 169
    730  1.1  christos 	mova/w.l @(0x12345678:32, @(foo:32, er2.l).w), er1
    731  1.1  christos 	test_h_gr32	0x12347698, er1 ; 170
    732  1.1  christos 
    733  1.1  christos 	mova/w.l @(0x12345678:32,@foo:16.w),er1
    734  1.1  christos 	test_h_gr32	0x1234587a, er1 ; 171
    735  1.1  christos 	mova/w.l @(0x12345678:32,@foo:32.w),er1
    736  1.1  christos 	test_h_gr32	0x1234587a, er1 ; 172
    737  1.1  christos 
    738  1.1  christos t02u:
    739  1.1  christos 	mov.l	#foo, er2
    740  1.1  christos 	mova/l.l @(0x12345678:32,@er2.b),er1           ;017F02C912345678
    741  1.1  christos 	test_h_gr32	0x1234567c, er1	; 173
    742  1.1  christos 	mova/l.l @(0x12345678:32,@(0x1:2,er2).b),er1   ;017F12C912345678
    743  1.1  christos 	test_h_gr32	0x1234567c, er1	; 178
    744  1.1  christos 	mova/l.l @(0x12345678:32,@er2+.b),er1          ;017F82C912345678
    745  1.1  christos 	test_h_gr32	0x1234567c, er1	; 174
    746  1.1  christos 	test_h_gr32	foo+1, er2
    747  1.1  christos 	mova/l.l @(0x12345678:32,@-er2.b),er1          ;017FB2C912345678
    748  1.1  christos 	test_h_gr32	0x1234567c, er1	; 177
    749  1.1  christos 	test_h_gr32	foo, er2
    750  1.1  christos 	mova/l.l @(0x12345678:32,@+er2.b),er1          ;017F92C912345678
    751  1.1  christos 	test_h_gr32	0x1234567c, er1	; 176
    752  1.1  christos 	test_h_gr32	foo+1, er2
    753  1.1  christos 	mova/l.l @(0x12345678:32,@er2-.b),er1          ;017FA2C912345678
    754  1.1  christos 	test_h_gr32	0x1234567c, er1	; 175
    755  1.1  christos 	test_h_gr32	foo, er2
    756  1.1  christos 
    757  1.1  christos 	mov.l	#4, er2
    758  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, er2).b), er1
    759  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 179
    760  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, r2L.b).b), er1
    761  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 181
    762  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, r2.w).b), er1
    763  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 182
    764  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, er2.l).b), er1
    765  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 183
    766  1.1  christos 
    767  1.1  christos 	mov.l	#4, er2
    768  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, er2).b), er1
    769  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 180
    770  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, r2L.b).b), er1
    771  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 184
    772  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, r2.w).b), er1
    773  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 185
    774  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, er2.l).b), er1
    775  1.1  christos 	test_h_gr32	0x123456b8, er1 ; 186
    776  1.1  christos 
    777  1.1  christos 	mova/l.l @(0x12345678:32,@foo:16.b),er1
    778  1.1  christos 	test_h_gr32	0x1234567c, er1 ; 187
    779  1.1  christos 	mova/l.l @(0x12345678:32,@foo:32.b),er1
    780  1.1  christos 	test_h_gr32	0x1234567c, er1 ; 188
    781  1.1  christos 
    782  1.1  christos t02v:
    783  1.1  christos 	mov.l	#foo, er2
    784  1.1  christos 	mova/l.l @(0x12345678:32,@er2.w),er1           ;015F02D912345678
    785  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 189
    786  1.1  christos 	mova/l.l @(0x12345678:32,@(0x2:2,er2).w),er1   ;015F12D912345678
    787  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 194
    788  1.1  christos 	mova/l.l @(0x12345678:32,@er2+.w),er1          ;015F82D912345678
    789  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 190
    790  1.1  christos 	test_h_gr32	foo+2, er2
    791  1.1  christos 	mova/l.l @(0x12345678:32,@-er2.w),er1          ;015FB2D912345678
    792  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 193
    793  1.1  christos 	test_h_gr32	foo, er2
    794  1.1  christos 	mova/l.l @(0x12345678:32,@+er2.w),er1          ;015F92D912345678
    795  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 192
    796  1.1  christos 	test_h_gr32	foo+2, er2
    797  1.1  christos 	mova/l.l @(0x12345678:32,@er2-.w),er1          ;015FA2D912345678
    798  1.1  christos 	test_h_gr32	0x12345a7c, er1	; 191
    799  1.1  christos 	test_h_gr32	foo, er2
    800  1.1  christos 
    801  1.1  christos 	mov.l	#4, er2
    802  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, er2).w), er1
    803  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 195
    804  1.1  christos 	shar.l	er2
    805  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, r2L.b).w), er1
    806  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 197
    807  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, r2.w).w), er1
    808  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 198
    809  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:16, er2.l).w), er1
    810  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 199
    811  1.1  christos 
    812  1.1  christos 	mov.l	#4, er2
    813  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, er2).w), er1
    814  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 195
    815  1.1  christos 	shar.l	er2
    816  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, r2L.b).w), er1
    817  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 197
    818  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, r2.w).w), er1
    819  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 198
    820  1.1  christos 	mova/l.l @(0x12345678:32, @(foo:32, er2.l).w), er1
    821  1.1  christos 	test_h_gr32	0x123496b8, er1 ; 199
    822  1.1  christos 
    823  1.1  christos 	mova/l.l @(0x12345678:32,@foo:16.w),er1
    824  1.1  christos 	test_h_gr32	0x12345a7c, er1 ; 203
    825  1.1  christos 	mova/l.l @(0x12345678:32,@foo:32.w),er1
    826  1.1  christos 	test_h_gr32	0x12345a7c, er1 ; 204
    827  1.1  christos 
    828  1.1  christos 	test_gr_a5a5	0
    829  1.1  christos 	test_h_gr32	2, er2
    830  1.1  christos 	test_h_gr32	0x01010101, er3
    831  1.1  christos 	test_gr_a5a5	4
    832  1.1  christos 	test_gr_a5a5	5
    833  1.1  christos 	test_gr_a5a5	6
    834  1.1  christos 	test_gr_a5a5	7
    835  1.1  christos 
    836  1.1  christos 	pass
    837  1.1  christos 
    838  1.1  christos 	exit 0
    839