repo.or.cz
/
qemu
/
aliguori.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
scsi: add a bunch more common sense codes
[qemu/aliguori.git]
/
tests
/
lm32
/
test_sextb.S
blob
58db8ee8b96f79ba12686ea415979c03dbd87fa4
1
.include "macros.inc"
2
3
start
4
5
test_name SEXTB_1
6
mvi r1, 0
7
sextb r3, r1
8
check_r3 0
9
10
test_name SEXTB_2
11
mvi r1, 0x7f
12
sextb r3, r1
13
check_r3 0x0000007f
14
15
test_name SEXTB_3
16
mvi r1, 0x80
17
sextb r3, r1
18
check_r3 0xffffff80
19
20
end