0% found this document useful (0 votes)
89 views

Microprocessor 8085 Appendix A

The document describes loading the value 05H into the accumulator, B register, and H register of a microprocessor through a series of instructions. It provides an explanation of the instructions, algorithm as a 3 step process, and a program with comments demonstrating the MVI A, 05H; MOV B, A; and MOV H, A instructions.

Uploaded by

manpreet kaur
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

Microprocessor 8085 Appendix A

The document describes loading the value 05H into the accumulator, B register, and H register of a microprocessor through a series of instructions. It provides an explanation of the instructions, algorithm as a 3 step process, and a program with comments demonstrating the MVI A, 05H; MOV B, A; and MOV H, A instructions.

Uploaded by

manpreet kaur
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor 8085

Appendix A

Explanation :

We have immediate data 05 H. To load this data into the accumulator we will use the MVI A, 05 H
instruction.
To transfer the data to B register we will use the instruction MOV B, A.
To transfer the data to H register we will use the instruction MOV H, A.

Algorithm :

Step I
:
Step II :
Step III :

Load the accumulator with immediate data 05 H


Copy the contents of accumulator to the register B.
Copy the contents of accumulator to the register H.

Flowchart : Refer flowchart 1

Program :
Instruction

Comments

MVI

; Initialize A reg = 05 H

A, 05 H

MOV B, A

; Transfer contents of A to B reg.

MOV H, A

; Transfer contents of A to H reg.

HLT

; Stop the execution.

Flowchart 1

You might also like