summaryrefslogtreecommitdiff
path: root/js/src/lirasm/tests/muljovi_xyy.in
blob: 79771d4a3006412ff7ee9de77f488f60d2d8cc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
        ; 46340 * 46340 < 2^31, and will not overflow.
        big = immi 46340
        
        res = muljovi big big err
        
        ; Ensure that 'big' gets its own register and isn't shared with 'res'.
        m = allocp 8
        sti big m 0
        
        reti res

; ---- Exit route for the error handler.

err:    e = immi -1
        reti e