Thu Dec 17 17:18:43 1998 Dave Brolley <brolley@cygnus.com>
[deliverable/binutils-gdb.git] / sim / testsuite / sim / fr30 / eorb.cgs
1 # fr30 testcase for eorb $Rj,$Ri, eorb $Rj,@$Ri
2 # mach(): fr30
3
4 .include "testutils.inc"
5
6 START
7
8 .text
9 .global eorb
10 eorb:
11 ; Test eorb $Rj,@$Ri
12 mvi_h_gr 0xaaaaaaaa,r7
13 mvi_h_mem 0x55555555,sp
14 set_cc 0x07 ; Set mask opposite of expected
15 eorb r7,@sp
16 test_cc 1 0 1 1
17 test_h_mem 0xff555555,sp
18
19 mvi_h_gr 0xaaaaaa00,r7
20 mvi_h_mem 0x00555555,sp
21 set_cc 0x08 ; Set mask opposite of expected
22 eorb r7,@sp
23 test_cc 0 1 0 0
24 test_h_mem 0x00555555,sp
25
26 mvi_h_gr 0xaaaaaa55,r7
27 mvi_h_mem 0x55aaaaaa,sp
28 set_cc 0x0b ; Set mask opposite of expected
29 eorb r7,@sp
30 test_cc 0 1 1 1
31 test_h_mem 0x00aaaaaa,sp
32
33 mvi_h_gr 0x000000d0,r7
34 mvi_h_mem 0x0eadbeef,sp
35 set_cc 0x05 ; Set mask opposite of expected
36 eorb r7,@sp
37 test_cc 1 0 0 1
38 test_h_mem 0xdeadbeef,sp
39
40 pass
This page took 0.030942 seconds and 4 git commands to generate.