mirror of
https://github.com/anoma/juvix.git
synced 2024-12-14 17:32:00 +03:00
23 lines
202 B
Plaintext
23 lines
202 B
Plaintext
|
-- division by zero
|
||
|
|
||
|
function f(integer) {
|
||
|
push 7;
|
||
|
push arg[0];
|
||
|
push 100;
|
||
|
div;
|
||
|
mul;
|
||
|
ret;
|
||
|
}
|
||
|
|
||
|
function g(*) {
|
||
|
push arg[0];
|
||
|
call f;
|
||
|
ret;
|
||
|
}
|
||
|
|
||
|
function main() {
|
||
|
push 0;
|
||
|
call g;
|
||
|
ret;
|
||
|
}
|