publicMasters/1-ComputationAndData/MVaP/3n+2.mvap

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