3,458 views
1 votes
1 votes
How many times will the following loop be executed?

                XRA A
                MVI C, 05H
LOOP:     DCR C
                JNZ LOOP

 a. Once

 b. Five times

 c. Infinite times

 d. Depends on the initial value of A

1 Answer

Related questions

0 votes
0 votes
0 answers
1
Abikkkaaa asked Oct 15, 2018
1,552 views
Which of the following set of instructions moves the contents of memory location 3500H to register C? The contents of memory location 3500 H is 46 H. a. LXI H, 3500 H MOV...
1 votes
1 votes
1 answer
2
1 votes
1 votes
0 answers
3
Abikkkaaa asked Oct 15, 2018
3,025 views
How many bytes does the following set of instructions occupy? MVI A, 35H MVI B, 23H ADD B a. Four bytes b. Six bytes c. Three bytes d. Five bytes
0 votes
0 votes
1 answer
4
Abikkkaaa asked Oct 15, 2018
2,005 views
What are the status of the ZERO flag and the contents of the accumulator after the execution of the following 8085 assembly code? Assume that contents of all other regist...