(emu8086) Modify the program below to implement a pollingscheme. The scheme tests (1) whether a port has a new numberentered and (2) if there is a new number entered in a port,displays a corresponding notification message.
#start=simple.exe#
#make_bin#
name “simpleio”
; write byte value 0A7h into the port 110:
MOV AL, 0A7H
OUT 110, AL
; write word value 1234h into the port 112:
MOV AX, 1234H
OUT 112, AX
MOV AX, 0 ; reset register.
; read byte from port 110 into AL:
IN AL, 110
; read word from port 112 into AX:
IN AX, 112
HLT
Expert Answer
An answer will be send to you shortly. . . . .