Example:
MOV AH, F14-'NIT
MOV AL, 111001118
MOV DX,O
INT
INT_SERIAL
F14-><MIT
(AH
=
01H)
,. (AH
=
OH)
,. HP Laserjet factory default
,. 9600 baud
,. No parity
,. 2
stop bits
,. 8
bit character
,. setting
,. Port
0
specification
,. Call serial driver (lNT 14H)
Transmits a data byte on the serial port specified by the DX register. The function enables
the REQUEST-TO-SEND and DATA-TERMINAL-READY signals, and then waits on the
DATA-SET-READY, CLEAR-TO-SEI\JD, and REGISTER-EMPTY signals until the character is
transferred or a timeout occurs.
On Entry: AH
=
F14-><MIT (01 H)
AL
=
Data byte to be transmitted
DX
=
Port number
(a,
1, 2, 3)
On Exit:
AH
=
Line status (see table 7.5)
AL
=
Modem status (see table 7.6)
Registers Altered:
AX
Example:
MOV AH, F14--.XMIT
,. (AH
=
02H)
MOV AL, 'G'
,. ASCI/'G' character
to
send
MOV DX,
0
,.
Port
0
specification
INT
INT_SERIAL
,. Call serial driver (lNT 14H)
TEST
AH, 100000008
,. Check for error
JNZ
short ERROR__HANDLER
Serial and Parrallell/O
225
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers