summaryrefslogtreecommitdiff
path: root/js/src/lirasm/tests/multfrag3.in
blob: 5fba3bdf9a0550969de4e7c09e48be44f1c22707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; See bug 541232 for why the params are commented out.
.begin avg
oneh = immi 100         ; should be: p1 = paramp 0 0
twoh = immi 200         ; should be: p2 = paramp 1 0
sum = addi oneh twoh    ; should be: sum = addp p1 p2
one = immi 1
avg = rshi sum one
reti avg
.end

.begin main
oneh = immi 100
twoh = immi 200
res = calli avg fastcall twoh oneh
reti res
.end