05 8086 unites
āĻāĻŦāĻžāϰ 8086 Internal Architecture â §2.3, āĻŦāĻā§ā§āϰ āĻĒā§āώā§āĻ āĻž ā§§ā§Šâā§§ā§ĢāĨ¤ āĻāĻ āĻāĻ āĻŦāĻŋāώā§ā§āϰ āĻĒā§āϰāĻĨāĻŽ āĻ
āĻāĻļ: EU āĻ BIU-āĻāϰ āĻāĻžāĻāĨ¤
:chatgpt-content-reference{index="0"}
8086-āĻāϰ āĻā§āϤāϰ⧠āĻĻā§āĻāĻāĻŋ āĻĒā§āϰāϧāĻžāύ unit āĻāĻā§:
| Unit | Full form | āĻĒā§āϰāϧāĻžāύ āĻāĻžāĻ |
|---|---|---|
| EU | Execution Unit | Instruction decode āĻ execute āĻāϰāĻž |
| BIU | Bus Interface Unit | Instruction āĻāύāĻž āĻāĻŦāĻ memory/I/O-āĻāϰ āϏāĻā§āĻā§ data transfer āĻāϰāĻž |
āϏāĻšāĻ āĻāϰā§: BIU āĻāύ⧠āĻĻā§ā§, EU āĻŦā§āĻā§ āĻāĻžāĻ āĻāϰā§āĨ¤
EU āĻā§ āĻāϰā§?
EU instruction decode āĻāϰā§âāĻā§āύ āĻāĻžāĻ āĻāϰāϤ⧠āĻšāĻŦā§ āĻŦā§āĻā§âāϤāĻžāϰāĻĒāϰ execute āĻāϰā§āĨ¤
āĻāϰ āĻŽāϧā§āϝ⧠āĻĨāĻžāĻā§:
- ALU: āϝā§āĻ, āĻŦāĻŋā§ā§āĻ āĻāĻŦāĻ AND, OR-āĻāϰ āĻŽāϤ⧠operation āĻāϰā§āĨ¤
- Registers: CPU-āĻāϰ āĻā§āϤāϰ⧠āĻ āϞā§āĻĒ āϤāĻĨā§āϝ āϏāĻžāĻŽā§āĻŋāĻāĻāĻžāĻŦā§ āϰāĻžāĻā§āĨ¤
- Flag register: āĻĢāϞāĻžāĻĢāϞā§āϰ āĻ āĻŦāϏā§āĻĨāĻž āĻ āĻāĻŋāĻā§ control information āϰāĻžāĻā§āĨ¤
- Instruction decoder: instruction-āĻāϰ āĻ āϰā§āĻĨ āύāĻŋāϰā§āϧāĻžāϰāĻŖ āĻāϰā§āĨ¤
Registers āĻ flags āĻāĻŽāϰāĻž āĻāϞāĻžāĻĻāĻž āĻāϰ⧠āĻļāĻŋāĻāĻŦāĨ¤
BIU āĻā§ āĻāϰā§?
BIU āĻŦāĻžāĻāϰā§āϰ memory āĻ I/O devices-āĻāϰ āϏāĻā§āĻā§ bus-āĻāϰ āĻŽāĻžāϧā§āϝāĻŽā§ āϝā§āĻāĻžāϝā§āĻ āĻāϰā§āĨ¤ āĻāĻāĻŋ instruction fetch āĻāϰā§, address āĻĒāĻžāĻ āĻžā§ āĻāĻŦāĻ data read/write āĻāϰā§āĨ¤ EU-āĻāϰ memory data āĻĒā§āϰā§ā§āĻāύ āĻšāϞ⧠BIU āϏā§āĻ transfer āϏāĻŽā§āĻĒāύā§āύ āĻāϰā§āĨ¤
BIU āĻāĻā§ āĻĨā§āĻā§ āĻāύāĻž instruction bytes āĻāĻāĻāĻŋ 6-byte instruction queue-āϤ⧠āϰāĻžāĻā§āĨ¤
Queue āĻā§āύ āĻĻāϰāĻāĻžāϰ?
āϧāϰā§, EU āĻāĻāύ āĻāĻāĻāĻŋ āϝā§āĻā§āϰ instruction execute āĻāϰāĻā§āĨ¤ āϤāĻāύ external bus āĻĢāĻžāĻāĻāĻž āĻĨāĻžāĻāϞ⧠āĻāĻŦāĻ queue-āϤ⧠āĻāĻžā§āĻāĻž āĻĨāĻžāĻāϞ⧠BIU āĻĒāϰā§āϰ instruction bytes āĻāύ⧠āϰāĻžāĻāϤ⧠āĻĒāĻžāϰā§āĨ¤
EU āĻŦāϰā§āϤāĻŽāĻžāύ āĻāĻžāĻ āĻļā§āώ āĻāϰ⧠queue āĻĨā§āĻā§ āĻĒāϰā§āϰ instruction āύā§ā§āĨ¤ āĻĢāϞ⧠instruction āĻāύāĻžāϰ āĻāύā§āϝ āĻ āĻĒā§āĻā§āώāĻž āĻāĻŽā§āĨ¤
āĻāĻ instruction fetching āĻ execution-āĻāϰ overlap-āĻā§ āĻāĻāĻžāύ⧠pipelining āĻŦāϞāĻž āĻšāĻā§āĻā§āĨ¤
āĻā§ā§āĻžāϞ āϰāĻžāĻā§:
- 6 bytes āĻŽāĻžāύ⧠6āĻāĻŋ instruction āύā§āĨ¤ āĻāĻā§āĻ instruction-āĻāϰ āĻĻā§āϰā§āĻā§āϝ āĻāϞāĻžāĻĻāĻž āĻšāϤ⧠āĻĒāĻžāϰā§āĨ¤
- Queue āĻāϞ⧠FIFO â First In, First Out āύāĻŋā§āĻŽā§: āĻāĻā§ āĻāϏāĻž byte āĻāĻā§ āĻŦā§āϰ āĻšā§āĨ¤
- EU āĻ BIU āĻāĻāĻ āϏāĻŽā§ā§ āĻāĻžāĻ āĻāϰāϤ⧠āĻĒāĻžāϰā§; āϤāĻŦā§ EU-āĻāϰ memory/I/O transfer-āĻāϰ āĻāύā§āϝāĻ BIU āĻĒā§āϰā§ā§āĻāύāĨ¤
Exam answer: Explain the roles of the EU and BIU.
âThe 8086 consists of two major units: the Execution Unit (EU) and the Bus Interface Unit (BIU). The EU decodes and executes instructions. The BIU handles instruction fetching and all memory and I/O bus operations. It stores prefetched instruction bytes in a 6-byte FIFO queue. Overlapping instruction fetching with execution improves processing speed.â
Quick check â āĻļā§āϧ⧠keywords āĻĻāĻžāĻ:
- Which unit decodes and executes instructions?
- Which unit handles memory and I/O bus operations?
- Does the 8086 instruction queue hold 6 bytes or 6 instructions?
- What is the overlapping of instruction fetching and execution called?