278
K
A
DAK
AMX 86 Procedures
ajoutb ajoutbajoutw ajoutw
Purpose Write to an 8-Bit Output Port (Byte)
Write to a 16-Bit Output Port (Word)
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup int portno;
char portbyte;
short int portword;
.
.
ajoutb(portno, portbyte);
ajoutw(portno, portword);
Where portno is the port number.
portbyte is the data byte to be written.
portword is the data word to be written.
Results Interrupts are untouched.
See Also ajinb, ajinw