13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

542 <strong>Digital</strong> <strong>Electronics</strong>X1X2RESET OUTSODSIDTRAPRST 7.5RST 6.5RST 5.5INTRINTAAD0AD1AD2AD3AD 4AD 5AD 6AD7GND12345678910111213141516171819201 24 40 Vcc39 HOLD383736353433323130292827262524232221HLDACLK(OUT)RESET INREADY10/MS1RDWRALES0A15A14A13A12A11A10A9A8Figure 13.11 Pin-out configuration of 8085.13.9.1.1 8085 RegistersThe 8085 microprocessor registers include an eight-bit accumulator, an eight-bit flag register (fiveone-bit flags, namely sign, zero, auxiliary carry, parity <strong>and</strong> carry), eight-bit B <strong>and</strong> C registers (whichcan be used as one 16-bit BC register pair), eight-bit D <strong>and</strong> E registers (which can be used as one16-bit DE register pair), eight-bit H <strong>and</strong> L registers (which can be used as one 16-bit HL register pair),a 16-bit stack pointer <strong>and</strong> a 16-bit program counter.13.9.1.2 Addressing Modes8085 has four addressing modes. These include register addressing, register indirect addressing, directaddressing mode <strong>and</strong> immediate addressing mode.13.9.1.3 8085 InstructionsAn instruction is a binary pattern designed inside a microprocessor to perform a specific function.The entire group of instructions a microprocessor can perform is referred to as its instruction set. Aninstruction cycle is defined as the time required to complete the execution of an instruction. An 8085instruction cycle consists of 1–6 machine cycles. A machine cycle is defined as the time required tocomplete one operation of accessing memory, I/O <strong>and</strong> so on. This will comprise 3–6 T-states, whichis defined as one subdivision of the operation performed in one clock period.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!