1 .text 2 .global main 3main: 4 ###################### 5 # stord abs20/24 regp 6 ###################### 7 stord (r1,r0),0x0 8 stord (r1,r0),0xff 9 stord (r3,r2),0xfff 10 stord (r4,r3),0x1234 11 stord (r5,r4),0x1234 12 stord (r1,r0),0x7A1234 13 stord (r1,r0),0xBA1234 14 stord (r2,r1),0xffffff 15 ###################### 16 # stord abs20 rel regp 17 ###################### 18 stord (r1,r0),[r12]0x0 19 stord (r1,r0),[r13]0x0 20 stord (r1,r0),[r12]0xff 21 stord (r1,r0),[r13]0xff 22 stord (r3,r2),[r12]0xfff 23 stord (r3,r2),[r13]0xfff 24 stord (r4,r3),[r12]0x1234 25 stord (r4,r3),[r13]0x1234 26 stord (r5,r4),[r12]0x1234 27 stord (r5,r4),[r13]0x1234 28 stord (r2,r1),[r12]0x4567 29 stord (r2,r1),[r13]0xA1234 30 ################################### 31 # stord regp rbase(disp20/-disp20) 32 ################################### 33 stord (r2,r1),0x4(r1,r0) 34 stord (r3,r2),0x4(r3,r2) 35 stord (r4,r3),0x1234(r1,r0) 36 stord (r5,r4),0x1234(r3,r2) 37 stord (r6,r5),0xA1234(r1,r0) 38 stord (r2,r1),-0x4(r1,r0) 39 stord (r3,r2),-0x4(r3,r2) 40 stord (r4,r3),-0x1234(r1,r0) 41 stord (r5,r4),-0x1234(r3,r2) 42 stord (r6,r5),-0xA1234(r1,r0) 43 ################################################# 44 # stord regp rpbase(disp4/disp16/disp20/-disp20) 45 ################################################# 46 stord (r1,r0),0x0(r1,r0) 47 stord (r1,r0),0x0(r1,r0) 48 stord (r1,r0),0xf(r1,r0) 49 stord (r1,r0),0xf(r1,r0) 50 stord (r2,r1),0x1234(r1,r0) 51 stord (r3,r2),0xabcd(r3,r2) 52 stord (r4,r3),0xAfff(r4,r3) 53 stord (r7,r6),0xA1234(r6,r5) 54 stord (r1,r0),-0xf(r1,r0) 55 stord (r1,r0),-0xf(r1,r0) 56 stord (r2,r1),-0x1234(r1,r0) 57 stord (r3,r2),-0xabcd(r3,r2) 58 stord (r5,r4),-0xAfff(r4,r3) 59 stord (r5,r4),-0xA1234(r6,r5) 60 #################################### 61 # stord rbase(disp0/disp14) rel reg 62 #################################### 63 stord (r1,r0),[r12]0x0(r1,r0) 64 stord (r1,r0),[r13]0x0(r1,r0) 65 stord (r2,r1),[r12]0x1234(r1,r0) 66 stord (r3,r2),[r13]0x1abcd(r1,r0) 67 ################################# 68 # stord rpbase(disp20) rel reg 69 ################################# 70 stord (r3,r2),[r12]0xA1234(r1,r0) 71 stord (r4,r3),[r13]0xB1234(r1,r0) 72 stord (r5,r4),[r13]0xfffff(r1,r0) 73