MOV B 1
IN D
IN D
ADD D B
;E-l,F-r,G-x 
IN A
IN E
IN F
CMP A B
JZ 26
;t=1
IN G
;
LOAD E H
ADD H G
STORE E H
ADD E B
CMP E F
JNZ 14




MOV RES 0
JZ 30
;t=2
MOV H 0
LOAD E H
OUT H
SUB D B
CMP D B
JZ 5

