addi t0, t2, 512
addi t1, t1, -8
ori s0, s2, 18
andi s0, s0, 1024
slli t2, t1, 12
srli t1, t1, 10
srai a0, ra, 2