Fix typo in comment (relevent -> relevant)
[qemu/ar7.git] / tests / lm32 / test_nori.S
blobd00309c73ea202382b09fdbe070abf779c751699
1 .include "macros.inc"
3 start
5 test_name NORI_1
6 mvi r1, 0
7 nori r3, r1, 0
8 check_r3 0xffffffff
10 test_name NORI_2
11 mvi r1, 0
12 nori r3, r1, 1
13 check_r3 0xfffffffe
15 test_name NORI_3
16 mvi r1, 1
17 nori r3, r1, 1
18 check_r3 0xfffffffe
20 test_name NORI_4
21 mvi r1, 1
22 nori r3, r1, 0
23 check_r3 0xfffffffe
25 test_name NORI_5
26 load r1 0xaa55aa55
27 nori r3, r1, 0x55aa
28 check_r3 0x55aa0000
30 test_name NORI_6
31 load r3 0xaa55aa55
32 nori r3, r3, 0x55aa
33 check_r3 0x55aa0000
35 end