EE370-8085

Post on 27-Apr-2015

3 views 0 download

Transcript of EE370-8085

8085

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

by Ramesh Gaonkar

Penram International Publishing

Page 9

Page 97

Section 4.1

Page 99

Page 103

Page 32

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 780

Page 781

Page 782

Page 783

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