IAI America XSEL-QX User Manual
Page 190
166
Part 4 Commands
z FMIO (Set IN, INB, OUT, OUTB command format)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
FMIO
Format
type
Prohibited CP
[Function]
Set the data format for reading or writing I/O ports and flags with an IN, INB, OUT or OUTB
command.
[1] Operand 1 = 0 (Default status when a FMIO command has not been executed)
Data is read or written without being reversed.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h 01h 23h 45h 67h 0000 0001
0010 0011
0100 0101 0110 0111
Variable 99
Temporary data
I/O port, flag status (0 = OFF, 1 = ON)
OUT(B) command
IN(B) command
[2] Operand 1 = 1
Data is read or written after its upper eight bits and lower eight bits are reversed every
16 bits.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h 23h 01h 67h 45h 0010 0011
0000 0001
0110 0111 0100 0101
Variable 99
I/O port, flag status (0 = OFF, 1 = ON)
Temporary data
OUT(B) command
IN(B) command
[3] Operand 1 = 2
Data is read or written after its upper 16 bits and lower 16 bits are reversed every 32
bits.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h 45h 67h 01h 23h 0100 0101
0110 0111
0000 0001 0010 0011
Variable 99
I/O port, flag status (0 = OFF, 1 = ON)
Temporary data
OUT(B) command
IN(B) command