Advertisements
Advertisements
प्रश्न
Write an Assembly Language Program to increment the contents of alternate memory locations each by two from 1051 H to 1060 H.
संक्षेप में उत्तर
Advertisements
उत्तर
| Label | Mnemonics + Operand | Comment |
| LDA 1051 | Load accumulator from 1051 memory location | |
| INR A | Increment accumulator by 1 | |
| INR A | Increment accumulator by 1 | |
| LDA 1053 | Load accumulator from 1053 memory location | |
| INR A | Increment accumulator by 1 | |
| INR A | Increment accumulator by 1 | |
| LDA 1055 | Load accumulator from 1055 memory location | |
| INR A | Increment accumulator by 1 | |
| INR A | Increment accumulator by 1 | |
| LDA 1057 | Load accumulator from 1057 memory location | |
| INR A | Increment accumulator by 1 | |
| INR A | Increment accumulator by 1 | |
| LDA 1059 | Load accumulator from 1059 memory location | |
| INR A | Increment accumulator by 1 | |
| INR A | Increment accumulator by 1 | |
| RST 1.0 | Restart |
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
