Displaying series 1 3 5 7 9 . . . . . . in 8085
Monday, January 19, 2009
- Problem:
- Solution:
- Program Instruction:
- MVI A 01
- MVI B 09
- LXI H F012
- MOV M,A
- DCR B
- INR A
- INR A
- INX H
- MOV M,A
- DCR B
- JNZ F009
- HLT
- About the instruction:
- Output of the program with source code:
The output of the program and source code is given bellow.
0 comments:
Post a Comment