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
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
bcc.cgs
blob
b0bee2b455d7fa61d3482b56d0e6d5a5e1a5895c
1
# cr16 testcase for beq disp16
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global beq
9
beq:
10
mvi_h_condbit 0
11
movw $12, r4
12
movw $10, r5
13
cmpw r4, r5
14
bcc ok
15
not_ok:
16
fail
17
ok:
18
movw $11, r5
19
cmpw r4, r5
20
beq not_ok
21
22
pass