
256
____________________________________________________________________
I/O statement
OUT
Sends a data byte to an output port.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
OUT portnumber,data
Parameter:
Parameter:Parameter:
Parameter:
portnumber
A numeric expression.
data
A numeric expression which returns a value from 0 to 255.
Description:
Description:Description:
Description:
OUT sends a data byte designated by data to a port specified by portnumber.
• portnumber is not an actual hardware port number on the BHT but a logical one which
the Interpreter assigns. (Refer to Appendix D, "I/O Ports.")
• If bits not assigned a hardware resource are specified to portnumber or data, they will
be ignored.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 71: Syntax error
• portnumber is missing.
• data is missing.
Kommentare zu diesen Handbüchern