Answered step by step
Verified Expert Solution
Question
1 Approved Answer
assembly language If you want to use the LOOP command to form a pair of nested loops LI : blah blah L2: blah blah LOOP
assembly language
If you want to use the LOOP command to form a pair of nested loops LI : blah blah L2: blah blah LOOP L2 LOOP L1 What is missing from this sequence? You need to set the EXC register for loop 1 before entering it. Then since the LOOP command uses the ECX register to count for both loops, you need to save the ECX connected with LOOP one prior to starting LOOP 2, and you need to set the count for loop 2 in ECX before entering it. Then you need to restore the Loop 1 count to the saved value of ECK before hitting the LOOP that puts you back in loop 1 You need to set the count for LOOP 1 before entering it, and you need to enter the count for loop 2 before entering it. You need to establish the EXC register for LOOP 1 before entering the loop. Then you need to establish the LOOP 2 before entering it. You must then save the loop 2 ECX register before returning to loop 1 and recall that saved register value to the ECX register before starting the next iteration of loop 2. Nothing it will work fine as it is assuming that the blah is code that actually computes something not connected to the loops themselves QUESTION 4 1 points Save Answer The LOOP command automatically decrements the ECX register when counting the loop. True False QUESTIONS 1 points Save Answer When you use the JNZ command what is being compared to allow or deny the jmp? The command looks at how the zero flag is set by the JMP command currently executing The command looks at how the carry flag was set by the previous command The command looks at how the zero flag was set by the previous command The command looks at how all the flags are set based on the outcome of the current JNZ commandStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started