initial
[fpgammix.git] / workloads / testldX.mms
blob62f7724b5873797de6580d52144f355b88693036
1 % Rudimentary test of LDXX instructions
2         LOC     Data_Segment
3 Tmp     OCTA    0
5 a       GREG
6 n       GREG
7 x       GREG
9         LOC     #100
10 Main    SETH    n,#FEDC
11         INCMH   n,#BA98
12         INCML   n,#7654
13         INCL    n,#3210
15         SETH    a,Tmp>>48
16         STO     n,a,0
17         LDB     x,a,0
18         LDB     x,a,2
19         LDB     x,a,5
20         LDBU    x,a,0
21         LDBU    x,a,2
22         LDBU    x,a,5
23         LDW     x,a,0
24         LDW     x,a,2
25         LDW     x,a,5
26         LDWU    x,a,0
27         LDWU    x,a,2
28         LDWU    x,a,5
29         LDT     x,a,0
30         LDT     x,a,2
31         LDT     x,a,5
32         LDTU    x,a,0
33         LDTU    x,a,2
34         LDTU    x,a,5
35         LDHT    x,a,0
36         LDHT    x,a,2
37         LDHT    x,a,9
38         TRAP    0,Halt,0