Data Transfer Group
Type 1
Program:-
Get 05 into the Register 'B'
Aim:-
To execute the given program.
Apparatus:-
Microprocessor kit (7000).
Memory address |
Machine code |
Mnemonics |
Operands |
Comments |
7000 |
3E, 05 |
MVI |
A, 05 |
Get 05 into the accumulator |
7001 |
47 |
MOV |
B,A |
Get 05 into the register |
7003 |
CF |
HLT |
|
END |
Procedure:-
1)How to enter the program
S->CR->CR->S. Address (7000)->CR->Machine code->CR
2)How to execute the program.
Esc->Go->CR->CR->->Address (7000)->CR
3)How to check the result.
S->CR->Press any key ->press any key->CR->B=05
Result:-
B=05
Type 2
Program:-
Load the content of the memory location 7550 H directly to the accumulator then transfer it to register B. the content of the memory location 7550 H is 05.
Aim:-
Data transfer group.
Apparatus:-
Microprocessor kit.
Data:-
7505
Memory address |
Machine code |
Mnemonics |
Operands |
Comments |
7000 |
3E, 05, 75 |
LDA |
7505 |
Get the content to the memory location H into
accumulator |
7003 |
47 |
MOV |
B,A |
Move the content of register A to B |
7004 |
CF |
HLT |
|
HALT |
Procedure:-
1)How to enter the program.
S->CR->CR->S.address(7000)->CR.
Esc->S->CR->address (7505)->CR.
2)How to execute
Esc->Go->CR->CR->S.address(7000)->CR->Display command.
3)How to check result
S->CR->press any key->press any key->CR->Type register name ->CR
Result:-
Register name:-05
Comments
Post a Comment
Its not necessary everyone should know everything feel free to ask or tell :)