Specifications

Chapter 14. Statement Reference
290
Syntax:
OUT portnumber,data
Parameter:
portnumber
A numeric expression.
data
A numeric expression which returns a value from 0 to 255.
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:
I/O statement
OUT
Sends a data byte to an output port.
Error code and message Meaning
error 71: Syntax error portnumber is missing.
data is missing.