summaryrefslogtreecommitdiff
path: root/js/src/lirasm/tests/littleendian/lds2i.in
blob: 9546cb87f3d5fbefca48d101f742f9993159192c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
full = immi -249334698 ; 0xf1237456
p = allocp 4
sti full p 0

n0chk = immi 29782 ; sign_extend(0x7456)
n1chk = immi -3805 ; sign_extend(0xf123)

n0 = lds2i p 0
n1 = lds2i p 2

; Collate the results.
r0 = xori n0chk n0
r1 = xori n1chk n1

r = ori r0 r1
reti r