projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New files: Testcases for cr16 instruction set.
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
cr16
/
sfc.cgs
1
# cr16 testcase for sfc rep
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global sfc
9
sfc:
10
mvi_h_condbit 0
11
movw $2, r4
12
movw $1, r5
13
subw r4, r5
14
sfc r3
15
cmpw $1, r3
16
beq ok
17
not_ok:
18
fail
19
ok:
20
pass