1 / 13

Microprocessor -8080 An Overview

Microprocessor -8080 An Overview. Presented By: Tooba Arifeen. Contents. Intro The Architecture-8080 Registers ALU Instruction Register and Control Section Bidirectional 3 state Data Buffer Assembly Language and Processor Addressing Modes Summing up

euclid
Télécharger la présentation

Microprocessor -8080 An Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microprocessor -8080 An Overview Presented By: ToobaArifeen

  2. Contents • Intro • The Architecture-8080 • Registers • ALU • Instruction Register and Control Section • Bidirectional 3 state Data Buffer • Assembly Language and Processor • Addressing Modes • Summing up • References

  3. Intro • Federico Fagin • 8-bit Microprocessor • Variant of 8008 • The first truly Usable Microprocessor • Technology • NMOS • 6µm

  4. The Architecture -8080 • Register Array and Address logic • Arithmetic and Logic Unit (ALU) • Instruction Register and Control Section • Bi-directional , 3 state data bus buffer

  5. The Architecture -8080

  6. The Architecture -8080 • Registers • Program Counter • Stack Pointer • Six 8-bit General Purpose Registers • Temporary Register Pair • ALU • 8-bit Accumulator • 8-bit Temporary Accumulator • 5-bit Flag Register : zero , carry, sign, parity and auxiliary carry • 8-bit Temporary Register

  7. The Architecture -8080 • Instruction Register and Control Section • Instruction Fetch -First byte of instruction transferred • Instruction Decoder • Control signals for Register array, ALU and Data Buffer • Aids in generation of state and cycle timing signals • Bidirectional 3 state Data Buffer • Isolation between Internal and External data Bus

  8. Assembly Language and Processor • Assembly Language Source code line ≈Machine language instruction for processor • Assembler : Symbolic Code to Object Code

  9. Addressing Modes • Implied Addressing • STC • DAA • Register Addressing • CMP E • Immediate Addressing • CPI ‘C’ • Direct Addressing • JMP 1000H • Register Indirect Addressing • MOV M,C • Combined Addressing Modes • CALL

  10. Summing Up 8080 One of the foundation for the world of computing and processing

  11. References • 8080 Data Sheet.pdf • 8080 and 8085 Assembly Language Programming Manual

  12. Q & A Thank you

  13. Implied Addressing. The addressing mode of certain instructions is implied by the instruction's function. For • example, the STC (set carry flag) instruction deals only with the carry flag; the DAA (decimal adjust accumuIa. • tor) instruction deals with the accumulator. • Register Addressing. Quite a large set of instructions call for register addressing. With these instructions, you • must specify one of the registers A through E, H or L as well as the operation code. With these instructions, • the accumulator is implied as a second operand. For example, the instruction CMP E may be interpreted as • 'compare the contents of the E register with the contents of the accumulator.' • Most of the instructions that use register addressing deal with 8-bit values. However, a few of these instructions • deal with 16-bit register pairs. For example, the PCHL instruction exchanges the contents of the program counter • with the contents of the Hand L registers. • Immediate Addressing. I nstructions that use immediate addressing have data assembled as a part of the instruction • itself. For example, the instruction CPI 'e' may be interpreted as 'compare the contents of the accumulator with • the letter C.' When assembled, this instruction has the hexadecimal value FE43. Hexadecimal 43 is the internal • representation for the letter C. When this instruction is executed, the processor fetches the first instruction byte • and determines that it must fetch one more byte. The processor fetches the next byte into one of its internal • registers and then performs the compare operation. • Notice that the names of the immediate instructions indicate that they use immediate data. Thus, the name of an • add instruction is ADD; the name of an add immediate instruction is ADI. • All but two of the immediate instructions use the accumulator as an implied operand, as in the CPI instruction • shown previously. The MVI (move immediate) instruction can move its immediate data to any of the working • registers, including the accumulator, or to memory. Thus, the instruction MVI D,OFFH moves the hexadecimal • value FF to the 0 register. • shown previously. The MVI (move immediate) instruction can move its immediate data to any of the working • registers, including the accumulator, or to memory. Thus, the instruction MVI D,OFFH moves the hexadecimal • value FF to the 0 register. • The LXI instruction (load register pair immediate) is even more unusual in that its immediate data is a 16-bit • value. This instruction is commonly used to load addresses into a register pair. As mentioned previously, your • program must initialize the stack pointer; LXI is the instruction most commonly used for this purpose. For example, • the instruction LXI SP,30FFH loads the stack pointer with the hexadecimal value 30FF. • Direct Addressing. Jump instructions include a 16-bit address as part of the instruction. For example, the • instruction J MP 1000H causes a jump to the hexadecimal address 1000 by replacing the current contents of the • program counter with the new value 1000. • Instructions that include a direct address require three bytes of storage: one for the instruction code, and two • for the 16-bit address. • Register Indirect Addressing. Register indirect instructions reference memory via a register pair. Thus, the • instruction MOV M,C moves the contents of the C register into the memory address stored in the Hand L • register pair. The instruction LDAX B loads the accumulator with the byte of data specified by the address • in the Band C register pair. • Combined Addressing Modes. Some instructions use a combination of addressing modes. A CALL instruction, • for example, combines direct addressing and register indirect addressing. The direct address in a CALL instruction • specifies the address of the desired subroutine; the register indirect address is the stack pointer. The CALL • instruction pushes the current contents of the program counter into the memory location specified by the stack • pointer.

More Related