mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
21 lines
183 B
Plaintext
21 lines
183 B
Plaintext
-- Arithmetic opcodes
|
|
|
|
function main () {
|
|
push 12;
|
|
push 5;
|
|
push 3;
|
|
push 2;
|
|
mul;
|
|
add;
|
|
push 15;
|
|
sub;
|
|
push 9;
|
|
div;
|
|
push 7;
|
|
mul;
|
|
push 25;
|
|
sub;
|
|
mod;
|
|
ret;
|
|
}
|