Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # @OC@ test |
2 | ||
3 | # reg,reg | |
4 | @OC@ r0,r1 | |
5 | @OC@ fp,sp | |
6 | ||
7 | # shimm values | |
8 | @OC@ r0,0 | |
9 | @OC@ r1,-1 | |
10 | @OC@ 0,r2 | |
11 | @OC@ -1,r3 | |
12 | @OC@ r4,255 | |
13 | @OC@ 255,r5 | |
14 | @OC@ r6,-256 | |
15 | @OC@ -256,r7 | |
16 | ||
17 | # limm values | |
18 | @OC@ r8,256 | |
19 | @OC@ r9,-257 | |
20 | @OC@ 511,r10 | |
21 | @OC@ r11,0x42424242 | |
22 | @OC@ 0x12345678,r12 | |
23 | ||
24 | # shimm and limm | |
25 | @OC@ 255,256 | |
26 | @OC@ 256,255 | |
27 | ||
28 | # symbols | |
29 | @OC@ r0,foo | |
30 | ||
31 | # conditional execution | |
32 | @OC@.al r0,r1 | |
33 | @OC@.ra r3,r4 | |
34 | @OC@.eq r6,r7 | |
35 | @OC@.z r9,r10 | |
36 | @OC@.ne r12,r13 | |
37 | @OC@.nz r15,r16 | |
38 | @OC@.pl r18,r19 | |
39 | @OC@.p r21,r22 | |
40 | @OC@.mi r24,r25 | |
41 | @OC@.n r27,r28 | |
42 | @OC@.cs r30,r31 | |
43 | @OC@.c r33,r34 | |
44 | @OC@.lo r36,r37 | |
45 | @OC@.cc r39,r40 | |
46 | @OC@.nc r42,r43 | |
47 | @OC@.hs r45,r46 | |
48 | @OC@.vs r48,r49 | |
49 | @OC@.v r51,r52 | |
50 | @OC@.vc r54,r55 | |
51 | @OC@.nv r57,r58 | |
52 | @OC@.gt r60,r60 | |
53 | @OC@.ge r0,0 | |
54 | @OC@.lt 1,r1 | |
55 | @OC@.le 2,2 | |
56 | @OC@.hi r3,r3 | |
57 | @OC@.ls r4,r4 | |
58 | @OC@.pnz r5,r5 | |
59 | ||
60 | # flag setting | |
61 | @OC@.f r0,r1 | |
62 | @OC@.f r2,1 | |
63 | @OC@.f 1,r3 | |
64 | @OC@.f 0,r4 | |
65 | @OC@.f r5,512 | |
66 | @OC@.f 512,r6 | |
67 | @OC@.f 512,512 | |
68 | ||
69 | # conditional execution + flag setting | |
70 | @OC@.eq.f r0,r1 | |
71 | @OC@.ne.f r1,0 | |
72 | @OC@.lt.f 0,r2 | |
73 | @OC@.gt.f 1,r2 | |
74 | @OC@.le.f r0,512 | |
75 | @OC@.ge.f 512,r2 | |
76 | @OC@.n.f 512,512 |