EE370-8085

12
8085 Based on Microprocessor Architecture, Programming and Applications with the 8085 (Fifth Edition) by Ramesh Gaonkar Penram International Publishing

Transcript of EE370-8085

Page 1: EE370-8085

8085

Based on Microprocessor Architecture, Programming and Applications with the 8085 (Fifth Edition)

by Ramesh Gaonkar

Penram International Publishing

Page 2: EE370-8085

Page 9

Page 3: EE370-8085

Page 97

Section 4.1

Page 4: EE370-8085

Page 99

Page 5: EE370-8085

Page 103

Page 6: EE370-8085

Page 32

Page 7: EE370-8085

Instruction Set

Consists of 74 operation codes resulting in 246 instructions (< 28)

Instructions (section 2.5):

- Data Transfer (Copy) Insturctions

- Arithmetic Instructions

- Logic and Bit Manipulation Instructions

- Branch Instructions

- Machine Control Instruction

Page 8: EE370-8085

Page 780

Page 9: EE370-8085

Page 781

Page 10: EE370-8085

Page 782

Page 11: EE370-8085

Page 783

Page 12: EE370-8085

Program Example

Machine Language

5000 MVI A 3E H

5001 40H

5002 OUT D3 H

5003 B8H

5004 MOV A,M 7EH

5005 JMP C3H

5006 00H

5007 50H

Assembly Language

5000H MVI A, 40H

OUT B8H

MOV A,M

JMP 5000H