iAPX
432
Interface
Processor
Architecture
Reference Manual
Printer
task:
Procedure:
/*****~******************************************/
/*
*/
/*
Data
Structures
and Constants * /
/*
*/
/************************************************/
/**************************************************************************************/
/*
Declare
the
256
byte
structure
for
the
Control
Window
and
map
it
beginning
at
*/
/*
an
offset
of
07FOOH
into
the
64K
byte
segment which
is
reserved
for
the
IP.
* /
/*
For
the
IUrpcses
of
this
example,
the
base
of
the
IP'
s reserved
area
is
at
location*
/
/*
080000H
'Jf
the
Attached Processor
memory
space.
*/
/**********lr***************************************************************************/
Declare
I!
base
literally
'080000H';
Declare
Window
4
structure
(
ps
state
i~
state
alarm
state
disp
state
reserved
1
frfyrcs
=idx
frf
function
state
frf=operabor-(7)
frf
result
(10)
i~=fun_req
reserved
2
mf
block - oount
mf-432
dIsp
mfys_disp
reserved
3
mf_windoW_info
(5)
structure
(
entry
state
mask-
base
disp
mf
fault
information (14)
selected-idx
se
1ec
ted-
state.
psor
fault
information
(13)
reserved
_
4-
(2)
word,
"'NOrd,
word,
'NOrd,
word,
'NOrd,
word,
word,
word,
word,
word,
WOrd,
word,
'NOrd,
word,
word,
'NOrd,
word)
,
byte,
word,
'NOrd,
byte,
'NOrd)
at
(IP_base +
07FOOH);
Declare subrange
(1024)
byte
at
(IP base. + 4096);
-
/*
byte
array
COllprising
windowed
subrange
*/
:Jec1are
offset
word; /*
offset
into
subrange
*/
Declare
true
Declare
false
F-4
literally
'OOOlH';
/*
Io;Jical
value
true
literally
'OOOOH'
/*
IDgical
value
false
*/
*/