Асемблер Задание 5 – вар2

DRV: PUSH B
PUSH D
PUSH H
PUSH PSW
MVI A, 88
OUT ПУ
LXI H, ADR
MOV A, M
OUT PORTA
INX H
MOV A, M
OUT PORTB
MVI A, 00000001
OUT PORTC
MVI A, 00000000
OUT PORTC
M1: IN PORTC
RAL
JNC M1
POP PSW
POP H
POP D
POP B
RET