Memory Segmentation
Memory Segmentation
Architecture
Segment
Registers
8086’s 1-megabyte memory The 8086 can directly address four Programs obtain access to code
is divided into segments of segments (256 K bytes within the 1 and data in the segments by
up to 64K bytes each. M byte of memory) at a particular changing the segment register
time. content to point to the desired
segments.
6
pin diagram of intel 8086
AD0 – AD15
Pin 16-2, 39 (Bi-directional)
• This is an acknowledgement
signal from slower I/O devices
or memory.
• It is an active high signal.
• When high, it indicates that the
device is ready to transfer data.
• When low, then
microprocessor is in wait state.
RESET
Pin 21 (Input)
• It is a system reset.
• It is an active high signal.
• When high, microprocessor
enters into reset state and
terminates the current activity.
• It must be active for at least
four clock cycles to reset the
microprocessor.
INTR
Pin 18 (Input)
• It is an interrupt request
signal.
• It is active high.
• It is level triggered.
NMI
Pin 17 (Input)
• It is a non-maskable interrupt
signal.
• It is an active high.
• It is an edge triggered
interrupt.
TEST
Pin 23 (Input)
• This is an interrupt
acknowledge signal.
• When microprocessor
receives INTR signal, it
acknowledges the interrupt
by generating this signal.
• It is an active low signal.
ALE
Pin 25 (Output)
• It is a Write signal.
• It is used to write data in
memory or output device
depending on the status of
M/IO signal.
• It is an active low signal.
HLDA
Pin 30 (Output)
• It is a Hold Acknowledge
signal.
• It is issued after receiving the
HOLD signal.
• It is an active high signal.
HOLD
Pin 31 (Input)
S2 S1 S0 Status
0 0 0 Interrupt Acknowledge
0 0 1 I/O Read
0 1 0 I/O Write
0 1 1 Halt
1 0 0 Opcode Fetch
1 0 1 Memory Read
1 1 0 Memory Write
1 1 1 Passive
LOCK
Pin 29 (Output)