addi    t0, a0, 16
srl     t1, a1, t0
sub     t2, t1, a2
or      t2, t1, t2
addi    a0, t2, 0
srai    a1, t1, 17
