EasyManuals Logo

Intel 80286 User Manual

Intel 80286
515 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #94 background imageLoading...
Page #94 background image
EXTENDED INSTRUCTION SET
MAIN PROGRAM (LEXICAL LEVEL 1)
PROCEDURE A (LEXICAL LEVEL
2)
PROCEDURE B (LEXICAL LEVEL
3)
PROCEDURE C (LEXICAL LEVEL
3)
PROCEDURE D (LEXICAL LEVEL
4)
Figure 4-2. Variable
Access
in Nested Procedures
15
0
BPFOR
MAIN -
OLDBP
BPM'
SP_
'BPM - BP VALUE FOR MAIN
} DISPLAY
DYNAMIC
STORAGE
Figure 4-2a.
Stack
Frame
jor
MAiN
at
Levei 1
G30108
G30108
4.
PROCEDURE C can access only the variables of PROCEDURE A and MAIN. PROCEDURE
C cannot access the variables of PROCEDURE B
or
PROCEDURE
D.
5.
PROCEDURE D can access the variables of PROCEDURE C, PROCEDURE
A,
and MAIN.
PROCEDURE D cannot access the variables of PROCEDURE
B.
ENTER
at
the beginning of the MAIN PROGRAM creates dynami\; sturage space fuf MAIN but
copies
no
pointers. The first and only word in the display points
to
itself because there
is
no
previous
value for LEAVE
to
return to
BP.
See figure
After
MAIN
calls PROCEDURE
A,
ENTER
creates a
new
display for PROCEDURE A with the
first word pointing
to
the previous value of BP (BPM for LEAVE to return
to
the MAIN stack frame)
and the second word pointing to the current value of
BP.
Procedure A can access variables in
MAIN
since
MAIN
is
at
level
1.
Therefore the base
for
the dynamic storage for MAIN
is
at
[BP-2j.
All
dynamic variables for
MAIN
will
be
at
a fixed offset from this value. See figure
4-2b.
4-4
pcjs.org

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel 80286 and is the answer not in the manual?

Intel 80286 Specifications

General IconGeneral
Processor TypeMicroprocessor
Clock Speed6 MHz to 25 MHz
Transistor Count134, 000
Addressable Memory16 MB
Instruction Setx86
Architecturex86
Data Bus Width16-bit
Address Bus Width24-bit
Operating ModesReal mode, Protected mode
Process Technology1.5 µm
Voltage5V
Introduced1982
Package68-pin PGA

Related product manuals