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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
