IAI America XSEL-QX User Manual
Page 192
168
Part 4 Commands
[Example 2]
Variable 99 = 00001234h (Decimal: 4660, BCD: 1234)
00001234h Variable 99 4660 (IN/OUT command)
1234 (INB/OUTB command)
(I/O, flag number upper) (I/O, flag number lower)
FMIO = 0 00h 00h 12h 34h
0000 0000
0000 0000 0001 0010 0011 0100
FMIO = 1 00h 00h 34h 12h
0000 0000
0000 0000 0011 0100 0001 0010
FMIO = 2 12h 34h 00h 00h
0001 0010
0011 0100 0000 0000 0000 0000
FMIO = 3 34h 12h 00h 00h
0011 0100 0001 0010 0000 0000 0000 0000
Temporary data
I/O port, flag status (0 = OFF, 1 = ON)
[Example 3]
Variable 99 = 00000012h (Decimal: 18, BCD: 12)
00000012h Variable 99 18 (IN/OUT command)
12 (INB/OUTB command)
(I/O, flag number upper) (I/O, flag number lower)
FMIO = 0 00h 00h 00h 12h
0000 0000
0000 0000 0000 0000 0001 0010
FMIO = 1 00h 00h 12h 00h
0000 0000
0000 0000 0001 0010 0000 0000
FMIO = 2 00h 12h 00h 00h
0000 0000
0001 0010 0000 0000 0000 0000
FMIO = 3 12h 00h 00h 00h
0001 0010 0000 0000 0000 0000 0000 0000
Temporary data
I/O port, flag status (0 = OFF, 1 = ON)
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command