Previous: 2.2.9.8. Mem, MemW, MemL, and MemD Statements To the Table of Contents Next: 2.2.9.10. Repeat Statement
2.2.9.8. Mem, MemW, MemL, and MemD Statements Table of Contents 2.2.9.10. Repeat Statement

- 2.2.9.9. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.9. Statements
2.2.9.9. Port, PortW, and PortD Statements


2.2.9.9. Port, PortW, and PortD Statements


TMT Pascal implements three predefined arrays to directly access 80x86 CPU data ports:
  Port, PortW, and PortD.
Port, PortW, and PortD are one-dimensional arrays, and each element represents a data port whose port address corresponds to its index. When a value is assigned to a component of Port, PortW or PortD, the value is output to the selected port. When a component of Port, PortW or PortD is referenced in an expression, its value is input from the selected port.


Previous: 2.2.9.8. Mem, MemW, MemL, and MemD Statements To the Table of Contents Next: 2.2.9.10. Repeat Statement
2.2.9.8. Mem, MemW, MemL, and MemD Statements Table of Contents 2.2.9.10. Repeat Statement

- 2.2.9.9. -