migration: move some declarations to migration.h
[qemu/lumag.git] / tests / lm32 / test_ori.S
blob3d576cdb8b5cf47d71253ef56caf673e04a01c62
1 .include "macros.inc"
3 start
5 test_name ORI_1
6 mvi r1, 0
7 ori r3, r1, 0
8 check_r3 0
10 test_name ORI_2
11 mvi r1, 0
12 ori r3, r1, 1
13 check_r3 1
15 test_name ORI_3
16 mvi r1, 1
17 ori r3, r1, 1
18 check_r3 1
20 test_name ORI_4
21 mvi r1, 1
22 ori r3, r1, 0
23 check_r3 1
25 test_name ORI_5
26 load r1 0xaa55aa55
27 ori r3, r1, 0x55aa
28 check_r3 0xaa55ffff
30 test_name ORI_6
31 load r3 0xaa55aa55
32 ori r3, r3, 0x55aa
33 check_r3 0xaa55ffff
35 end