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
Update release-README after completing the 2.43 release.
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
mulb.cgs
blob
c4b859f22c53019d6f183cd806e4232ac9382e0e
1
# cr16 testcase for mulb $imm4/imm16/reg,$reg
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global mulb
9
mulb:
10
movw $0x1234,r4
11
movw $0x4567,r5
12
13
mulb r4, r5
14
cmpb $0xec, r5
15
beq ok1
16
not_ok:
17
fail
18
19
ok1:
20
movw $3,r4
21
mulb $7,r4
22
cmpb $21, r4
23
beq ok
24
br not_ok
25
ok:
26
movw $3,r4
27
mulb $0x1207, r4
28
test_h_gr r4, 21
29
30
pass