IOX: Difference between revisions
Jump to navigation
Jump to search
(Initial page, copy from Rogers wiki, needs more work) |
(Rework on the page + category) |
||
Line 1: | Line 1: | ||
'''IOX''' instruction is used for programmed IO. IOX is a privileged instruction in normal cases but if there is no OS running and the paging system is turned off then IOX is an unprivileged instruction. | '''IOX''' instruction is used for [[programmed IO]]. IOX is a privileged instruction in normal cases but if there is no OS running and the paging system is turned off then IOX is an unprivileged instruction. | ||
IOX and [[IOXT]] are the only instructions used to communicate with external instructions. | IOX and [[IOXT]] are the only instructions used to communicate with external instructions. | ||
Line 8: | Line 8: | ||
Addressing of a non existing device results in a [[IOX error]]. | Addressing of a non existing device results in a [[IOX error]]. | ||
== Se also == | |||
* [[IOXT]] instruction | |||
== Referenses == | |||
*{{ND-doc|06.015|(Programmed I/O, chapter 6.3)}} | |||
[[Category:ND100 instructions]] |
Revision as of 08:26, 27 November 2008
IOX instruction is used for programmed IO. IOX is a privileged instruction in normal cases but if there is no OS running and the paging system is turned off then IOX is an unprivileged instruction. IOX and IOXT are the only instructions used to communicate with external instructions.
IOX transfers data between a device I/O register and the CPU's A register.
Bit 0-10 of the instruction code sets the direction and IO address. If bit 0 is zero then IOX reads the value from the IO register into register A. If bit 0 is one then IOX writes the contents of register A to the IO register.
Addressing of a non existing device results in a IOX error.
Se also
- IOXT instruction
Referenses
- Norsk Data Document ND–06.015 ND-100 FUNCTIONAL DESCRIPTION (Programmed I/O, chapter 6.3)