Octagon PC-600 User Manual page 73

Hide thumbs Also See for PC-600:
Table of Contents

Advertisement

Purpose:
Calling registers:
Return registers:
Comments:
Programming example:
/* Inline assembly code for Borland C++ 3.1 */
asm {
mov
mov
int
mov
mov
mov
}
To read from an EZ I/O port.
AH
efh
AL
02h (05h for EZ I/O2)
DX
ffffh
AL
Port A data
Ah
Port B data
BL
Port C data
Carry flag cleared if successful
Carry flag set if error
AL
Error code
This function is used to read from the
EZ I/O.
ax,0efoch
dx,0ffffh
17h
aData,al
bData,ah
cData,bl
73

Advertisement

Table of Contents
loading

Related Products for Octagon PC-600

Table of Contents