17
Intel 8085- Architecture 7/8/2015 8085 CPU- Architecture 1

Intel 8085 architecture

Embed Size (px)

Citation preview

Page 1: Intel 8085 architecture

8085 CPU- Architecture 1

Intel 8085-Architecture

7/8/2015

Page 2: Intel 8085 architecture

8085 CPU- Architecture 27/8/2015

Page 3: Intel 8085 architecture

8085 CPU- Architecture 3

Functional blocks

• Registers• ALU• Instruction decoder and machine cycle encoder• Address buffer• Address / Data buffer• Incrementer / Decrementer Address Latch• Interrupt control• Serial I/O control• Timing and control circuitry7/8/2015

Page 4: Intel 8085 architecture

8085 CPU- Architecture 4

1.Registers

• General purpose registers

• Temporary registers

• Special purpose registers

• Sixteen bit registers7/8/2015

Page 5: Intel 8085 architecture

8085 CPU- Architecture 5

General purpose registers

• B,C,D,E,H,L are 8 bit registers.

• Combination of BC,DE,HL registers are form a 16 bit

registers

• HL pair also function as a data pointer or memory pointer

• To store intermediate results in their memory

7/8/2015

Page 6: Intel 8085 architecture

8085 CPU- Architecture 6

Temporary registers

• Temporary storage registers to store one input for arithmetic and logical operations

• Programmer cannot access this registers externally

• W and Z registers are used as temp. registers.

7/8/2015

Page 7: Intel 8085 architecture

8085 CPU- Architecture 7

Special purpose registers

• Accumulator – tri-state 8 bit register, used in arithmetic logical operations and mostly the performed results are stored in it.

• Flag Register-8 bit registers.Sign Flag- D7-1 the num is negative

D7-0 the num is positive

Zero Flag- set if ALU result is zeroReset if ALU result is non-zero

7/8/2015

Page 8: Intel 8085 architecture

8085 CPU- Architecture 8

• Auxiliary carry flagflag is set if the bit is overflow out of bit

3.

Parity flag-the number of 1’s present in accumulator,-Even parity means flag set-Odd Parity means flag reset

Carry Flag-flag is set if there is an overflow of bit 7.

7/8/2015

Page 9: Intel 8085 architecture

8085 CPU- Architecture 9

16-bit registers

• Program counter (PC)-stores the address of next instruction to be fetched.-PC acts as a pointer to the next instruction.

• Stack pointer (SP)- to hold the address of the most recent stack entry.

7/8/2015

Page 10: Intel 8085 architecture

8085 CPU- Architecture 10

ALU

• Addition , Subtraction

• Logical operations

- AND,OR,EX-OR.

7/8/2015

Page 11: Intel 8085 architecture

8085 CPU- Architecture 11

Instruction decoder

• Fetch and store the opcode in instruction

register.

• Decodes the opcode and gives timing and

control signals which control reg.,data

buffers,ALU,external peripherals.

7/8/2015

Page 12: Intel 8085 architecture

8085 CPU- Architecture 12

Address buffer

• 8-bit unidirectional buffer

• Tri-state high order address bus under such

conditions like halt,hold , reset.

7/8/2015

Page 13: Intel 8085 architecture

8085 CPU- Architecture 13

Address /data buffer

• 8-bit unidirectional buffer

• Low order address bus and data bus

7/8/2015

Page 14: Intel 8085 architecture

8085 CPU- Architecture 14

Incrementer /Decrementer latch

• 16-bit register

• Used to INC / DEC. the contents of program

counter and stack pointer

7/8/2015

Page 15: Intel 8085 architecture

8085 CPU- Architecture 15

Interrupt control

• Sometimes there will be need to make a

interrupt to allow or block the signals for

some time.

• RST5.5,RST 6.5,RST7.5 ,TRAP,INTR AND INTA.

7/8/2015

Page 16: Intel 8085 architecture

8085 CPU- Architecture 16

Serial I/O control

• SID-Serial input data for receive data.

• SOD-Serial output data for sending data.

7/8/2015

Page 17: Intel 8085 architecture

8085 CPU- Architecture 17

Timing and control

• For fetching and decoding operations and

generating appropriate signals for instruction

execution ,control circuitry.

7/8/2015