Question: 6. Consider the following assembly program: (16 points) MOV CX, 1100H DLY: SUBS CX, CX, #1 NOP BNE DLY NXT: --- (a) How many

6. Consider the following assembly program: (16 points) MOV CX, 1100H DLY:

6. Consider the following assembly program: (16 points) MOV CX, 1100H DLY: SUBS CX, CX, #1 NOP BNE DLY NXT: --- (a) How many times does the BNE DLY instruction get executed? (b) Change the program so that BNE DLY is executed 22 times.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To determine how many times the BNE Branch if Not Equal instruction is executed in the given assem... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!