read_port
Read a byte from an I/O port in ZEsarUX by evaluating IN(port) and returning the integer value.
Instructions
Read a byte from an I/O port. ZEsarUX has no read-port command, so this evaluates IN(port) and returns the integer value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port address (hexadecimal, e.g. "FE" for port 254) |