Intel iapx 432 manual Mask

Models: iapx 432

1 182
Download 182 pages 3.94 Kb
Page 167
Image 167

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

 

word,

 

i~ state

 

"'NOrd,

 

alarm state

 

word,

 

disp state

 

'NOrd,

 

reserved 1

 

word,

 

frfyrcs=idx

 

'NOrd,

 

frf

function state

 

word,

 

frf=operabor-(7)

 

word,

 

frf

result (10)

 

word,

 

i~=fun_req

 

word,

 

reserved 2

 

word,

 

mf block- oount

 

WOrd,

 

mf-432 dIsp

 

word,

 

mfys_disp

 

'NOrd,

 

reserved 3

 

word,

 

mf_windoW_info (5) structure (

word,

 

entry state

 

 

mask-

 

'NOrd,

 

base disp

 

word) ,

 

mf fault information (14)

 

byte,

 

selected-idx

 

word,

 

se1ected-state.

 

'NOrd,

 

psor

fault information (13)

byte,

 

reserved_4-(2)

 

'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

literally

'OOOlH';

/* Io;Jical value true

*/

Declare false

literally

'OOOOH'

/* IDgical value false

*/

F-4

Page 167
Image 167
Intel iapx 432 manual Mask