forked from n3tael/labast
23 lines
289 B
Plaintext
23 lines
289 B
Plaintext
; Addition
|
|
push 2 ; a = 2
|
|
push 3 ; b = 2
|
|
add ; a + b
|
|
meow ; = 5
|
|
|
|
; Subtraction
|
|
push 9 ; a = 9
|
|
push 4 ; b = 4
|
|
sub ; b - a
|
|
meow ; = 5
|
|
|
|
; Multiplication
|
|
push 9 ; a = 9
|
|
push 5 ; b = 5
|
|
mul ; b * a
|
|
meow ; = 45
|
|
|
|
; Division
|
|
push 81; a = 81
|
|
push 9 ; b = 9
|
|
div ; b / a
|
|
meow ; = 9 |