publicMasters/MVaP/3n+2.mvap
2022-11-09 08:41:35 +01:00

14 lines
102 B
Plaintext

# calcule : 2 + 3 * n
PUSHI 2
LABEL 1
PUSHI 3
ADD
WRITE
DUP
PUSHI 100
INF
JUMPF 2
JUMP 1
LABEL 2
HALT