projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
lirasm
/
tests
/
muljovi_xyz.in
1
; 1073741823 * 2 < 2^31, and will not overflow.
2
big = immi 1073741823
3
two = immi 2
4
5
res = muljovi big two err
6
7
; Ensure that 'big' and 'two' get their own registers and
8
; aren't shared with 'res'.
9
m = allocp 12
10
sti big m 0
11
sti two m 4
12
13
reti res
14
15
; ---- Exit route for the error handler.
16
17
err: e = immi -1
18
reti e