* Contribute Hitachi SH5 simulator.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / xorb.cgs
1 # sh testcase for xor.b #$imm8, @(r0, gbr) -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6 .include "compact/testutils.inc"
7
8 start
9
10 .global orb
11 init:
12 # Init GBR and R0.
13 mov #30, r0
14 ldc r0, gbr
15 mov #40, r0
16
17 orb:
18 xor.b #0, @(r0, gbr)
19 xor.b #170, @(r0, gbr)
20 xor.b #0, @(r0, gbr)
21 xor.b #255, @(r0, gbr)
22
23 okay:
24 pass
This page took 0.030537 seconds and 4 git commands to generate.