Загрузка данных
in ax, 2 ; A mov bx, ax and bx, 007Fh ; B mov cx, ax and cx, 0F80h shr cx, 7 ; C mov si, ax and si, 0F000h shr si, 12 ; A/B mov ax, bx mov bx, cx xor dx, dx div bx ; +C add ax, si out 3, ax hlt