ati-vga: Fix indexed access to video memory
[qemu/ar7.git] / tests / tcg / lm32 / test_nor.S
blob74d7592565d94c36a32909ff7efc728bd228e7a3
1 .include "macros.inc"
3 start
5 test_name NOR_1
6 mvi r1, 0
7 mvi r2, 0
8 nor r3, r1, r2
9 check_r3 0xffffffff
11 test_name NOR_2
12 mvi r1, 0
13 mvi r2, 1
14 nor r3, r1, r2
15 check_r3 0xfffffffe
17 test_name NOR_3
18 mvi r1, 1
19 mvi r2, 1
20 nor r3, r1, r2
21 check_r3 0xfffffffe
23 test_name NOR_4
24 mvi r1, 1
25 mvi r2, 0
26 nor r3, r1, r2
27 check_r3 0xfffffffe
29 test_name NOR_5
30 load r1 0xaa55aa55
31 load r2 0x55aa55aa
32 nor r3, r1, r2
33 check_r3 0
35 test_name NOR_6
36 load r1 0xaa550000
37 load r2 0x0000aa55
38 nor r3, r1, r2
39 check_r3 0x55aa55aa
41 test_name NOR_7
42 load r1 0xaa55aa55
43 nor r3, r1, r1
44 check_r3 0x55aa55aa
46 test_name NOR_8
47 load r3 0xaa55aa55
48 nor r3, r3, r3
49 check_r3 0x55aa55aa
51 end