Chapter 2 Flashcards

(23 cards)

1
Q

What are the three buses used in 8086 architecture?

A

Address bus, Data bus, Control bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How wide is the address bus in 8086, and what memory range does it access?

A

20-bit wide; can access from 00000H to FFFFFH (1MB)
And its Uni-Directional (from MPU into the memory)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference in data bus width between 8086 and 8088?

A

8086: 16-bit data bus; 8088: 8-bit data bus
- Data bus is Bi-directional (information flows between MPU and I/O or Memory)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is meant by multiplexed address/data lines in 8086?

A

The lower 16 bits (AD0–AD15) are used for both address and data, time-multiplexed to save pins.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the maximum memory size that can be accessed by 8086?

A

1 Megabyte (2²⁰ = 1,048,576 bytes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is the 1MB memory divided in the 8086 architecture?

A

Into four segments of 64KB: CS, DS, SS, and ES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is a physical address calculated?

A

Physical Address = (Segment Register × 10h) + Offset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is meant by Little Endian format?

A

In memory, the least significant byte is stored at the lower address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name the general-purpose registers in 8086.

A

AX, BX, CX, DX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the index and pointer registers?

A

SI (Source Index), DI (Destination Index), SP (Stack Pointer), BP (Base Pointer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of the Instruction Pointer (IP)?

A

Points to the next instruction to be executed; combined with CS to form physical address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the two main units inside the 8086?

A

Execution Unit (EU) and Bus Interface Unit (BIU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the function of the BIU?

A

Fetches instructions, reads/writes memory and I/O, manages the instruction queue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is instruction queue in 8086?

A

A 6-byte FIFO queue that prefetches instructions to speed up execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does the stack work in 8086?

A

LIFO structure using SS:SP; grows downward in memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do PUSH and POP instructions do?

A

PUSH: Store register content to stack (SP-2); POP: Retrieve from stack (SP+2)

17
Q

Name any four flags in the Status Register.

A

Carry (CF), Zero (ZF), Sign (SF), Overflow (OF)

18
Q

What does the Zero Flag (ZF) indicate?

A

ZF = 1 if result of the last operation is zero

19
Q

What are control flags in the status register?

A

Trap Flag (TF), Interrupt Flag (IF), Direction Flag (DF)

20
Q

What are the two operating modes of 8086?

A

Minimum Mode (single processor) and Maximum Mode (multiprocessor system)

21
Q

What is the difference between Minimum and Maximum Mode?

A

Minimum mode is used for standalone operation; Maximum mode is for systems with multiple processors, using a coprocessor like 8087.

22
Q

Name any two control or status signals in 8086.

A

READY (wait states), HOLD (DMA), INTA (interrupt acknowledge)

23
Q

What is the purpose of segment registers?

A

They point to memory segments: Code (CS), Data (DS), Stack (SS), Extra (ES)