Statistics
| Branch: | Revision:

root / tests / tcg / lm32 / test_sexth.S @ c09015dd

History | View | Annotate | Download (221 Bytes)

1
.include "macros.inc"
2

    
3
start
4

    
5
test_name SEXTH_1
6
mvi r1, 0
7
sexth r3, r1
8
check_r3 0
9

    
10
test_name SEXTH_2
11
load r1 0x7fff
12
sexth r3, r1
13
check_r3 0x00007fff
14

    
15
test_name SEXTH_3
16
load r1 0x8000
17
sexth r3, r1
18
check_r3 0xffff8000
19

    
20
end