You are on page 1of 2

ASSEMPLY LANGUAGE PROGRAM FOR DC MOTOR INTERFACING (8085)

Memory address 4100 4101 4102

Opcode 3E FF D3

Label START

Mnemonics MVI

Operand Comments A,FFH Move immediate the content of data to Accumulator register Move immediate the content of Accumulator data to output Move immediate the content of data to Accumulator register Move immediate the content of Accumulator data to output Move immediate the content of Accumulator data to output Logical AND immediate the content of data Jump Move immediate the content of Accumulator data to output Logical AND immediate the content of data Jump zero Move immediate the content of Accumulator data to output Logical AND immediate the content of data Jump zero Move immediate the

OUT

D8H

4103 4104 4105 4106

D8 3E 0F D3

MVI

A,OFH

OUT

E0H

4107 4108

E0 D8

LOOP

IN

C8H

4109 410A 410B 410C 410D 410E 410F

C8 E6 80 CA O8 41 DB

ANI

80H

JZ LOOP1 IN

LOOP C8H

4110 4111 4112 4113 4114 4115 4116

C8 E6 80 CA 0F 41 DB

ANI

80H

JZ LOOP2 IN

LOOP1 C8H

4117 4118 4119 411A 411B 411C 411D

C8 E6 80 CA 16 41 DB

ANI

80H

JZ IN

LOOP2 C8H

You might also like