presentation by adeel
TRANSCRIPT
![Page 1: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/1.jpg)
PRESENTED BY:-MUHAMMAD
ADEEL RAJPUT
Topic:- Execution Unit (E.U)
![Page 2: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/2.jpg)
Execytion Unit (EU) E.U unit performs the following
functions. It performs the logic and Arithmetic
operation on memory or register. It receives the instruction from pre
fetch queue and decodes it. It stores the information temporary in
the register array.
![Page 3: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/3.jpg)
Parts of E.U(Execution unit)
Control CircuitALUGeneral Purpose RegisterSpecial Purpose Register2 pointer registers2 index registers
![Page 4: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/4.jpg)
Execution Unit
![Page 5: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/5.jpg)
Control CircuitThe control circuit controls all the operations and flow of data inside the microprocessor.
![Page 6: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/6.jpg)
ALU Arithmetic Logic Unit
This is a 16 bit unit which performs the AND, OR, Exclusive, Addition, Subtraction, Increment, Decrement, Complement and Shift functions.
![Page 7: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/7.jpg)
ALU
![Page 8: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/8.jpg)
General Purpose Register
It has 4 data registers, AX, BX, CX, DX
AX, BX, CX and DX registers has 2 8-bit registers to access the high and low byte data registers. The high byte of AX is called AH and the low byte is AL. Similarly,
![Page 9: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/9.jpg)
General Purpose Register
the high and low bytes of BX, CX, DX are BH and BL, CH and CL, DH and DL respectively.
![Page 10: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/10.jpg)
Flags Register
It is also called status register flags represent result of last
arithmetic or logical instruction executed. Conditional flags are as follows:
1. CF (Carry Flag)
2. AF (Auxiliary Flag)
3. PF (Parity Flag)
4. ZF (Zero Flag)
![Page 11: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/11.jpg)
Flags Register
5. SF (Sign Flag)
6. OF (Overflow Flag)
Control register
7. TF (Trap Flag):
8. IF (Interrupt Flag):
9. DF (Direction Flag):
And Seven undefined flags register
![Page 12: Presentation by adeel](https://reader030.vdocuments.mx/reader030/viewer/2022020218/55c3dc33bb61eb3a348b47ff/html5/thumbnails/12.jpg)
Pointer and Index Register
2 pointer registers SP, BP SP (Stack pointer) BP (Base pointer) 2 index registers SI, DI SI (Sours index) DI (Destination index)