
MOV =1,VAR3
WRITE =3
WRITE =1
READ VAR1 
LOAD R0,VAR1
LOAD R1,VAR1
MULT R0,R1
WRITE R0
LOAD R0,VAR1
LOAD R1,VAR1
MULT R0,R1
LOAD R2,=4
LOAD R3,=12
ADD R2,R3
COMPARE R0,R2
BRANCH R0,L1
WRITE =77
JUMP L2
L1: NOP
WRITE =88
L2: NOP
LOAD R0,VAR1
LOAD R1,=4
COMPARE R0,R1
BRANCH R0,L3
WRITE =99
L3: NOP
EOJ 
VAR1 : DEFWORD 0 
VAR2 : DEFWORD 0 
VAR3 : DEFWORD 0 
