0% found this document useful (0 votes)
9 views5 pages

8085 Microprocessor Memory Programs

Uploaded by

gwagon620
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

8085 Microprocessor Memory Programs

Uploaded by

gwagon620
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

MICROPROCESSOR PRACTICAL (CS-354) CO22370

Practical 9
Memory Programs

Teacher Signature:
MICROPROCESSOR PRACTICAL (CS-354) CO22370

PROGRAM- 9
AIM: Memory Programs.

Hardware Requirements:
Microprocessor 8085 (MAXEDU-01 8085 Microprocessor Training Kit).
Software Requirements:
8085 Simulator IDE

Program 9(a)
Memory Machine Code Mnemonics Operands Comments
Address
2070 21,00,25 LXI H, 2500 Load HL register pair with the
source address.

2073 7E MOV A, M Move the high byte of the source


data into the accumulator.

2074 32,00,25 STA 12 Store the high byte in the


destination memory location.

2077 23 INX H Increment H to point to the low


byte of the source data.

2078 7E MOV A, M Move the low byte of the source


data into the accumulator.
2079 32,00,25 STA 34 Store the low byte in the next
memory location.

207C 76 HLT - Stop the execution temporarily.

1. Reset the kit and load values from address to register.

Teacher Signature:
MICROPROCESSOR PRACTICAL (CS-354) CO22370

2. Move the high byte of the source data into the accumulator.

3. Store the high byte in the destination memory location.

4. Increment H to point to the low byte of the source data.

5. Move the low byte of the source data into the accumulator.

6. Excetution stoped and successful executed.

7. The Value is in assigned address.

Teacher Signature:
MICROPROCESSOR PRACTICAL (CS-354) CO22370

9(b)
Memory Machine Mnemonics Operands Comments
Address Code

2070 21,50,20 LXI H,2050 Load HL register 50(L) 20(H).


2073 26,20 MVI H,20H Load 20H in register H.
2075 2E MVI L,50H Load 50H in register L.
2076 76 HLT - Stop the execution temporarily.

1. Reset kit and Load HL register pair from address.

2. Load address(higher) to register.

Teacher Signature:
MICROPROCESSOR PRACTICAL (CS-354) CO22370

3. Load address(lower) to register.

4. Excetution stoped and successful executed.

5. Value is in assigned address.

Teacher Signature:

You might also like