repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add an option with a color type.
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
cmpb.cgs
blob
50984bf8ef5f023a257a5031536253ac601b862b
1
# cr16 testcase for cmpb reg1, reg2
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global cmpb
9
cmpb:
10
mvi_h_condbit 0
11
movw $0x2311, r4
12
movw $0x4211, r5
13
cmpb r4,r5
14
beq ok
15
not_ok:
16
fail
17
ok:
18
mvi_h_condbit 1
19
movw $0x4222, r5
20
cmpb r4,r5
21
beq not_ok
22
23
pass