Advertisements
Advertisements
प्रश्न
Write ALP to store data BCH in 20 contiguous memory locations starting from 8081 H.
संक्षेप में उत्तर
उत्तर
Mnemonics | Comment | |
Opcode | Operand | |
LXI H, 8081 | ; Store 8081 in HL Pair. | |
MVI C, 14 H | ; Store count in C Register | |
MVI A, BCH | ; Store BCH in Accumulator | |
BACK : MOV M, A | ; Copy Acc content to memory. | |
INX H | ; Increment HL pair by 1. | |
DCR C | ; Decrement C Reg by 1. | |
JNZ : BACK | ; If C ? 0 then go to BACK | |
RST 1.0 | ; Restart |
shaalaa.com
Instruction Set and Programming of 8085
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?