Question: Determine how much total delayed time is consumed by the program snippet below. Note that this INTEL based assembly is different than the AVR but

 Determine how much total delayed time is consumed by the program

Determine how much total delayed time is consumed by the program snippet below. Note that this INTEL based assembly is different than the AVR but the comments should make the calculations manifest. Regardless, double and triple check them as it is ripe for error! MOV R1, #OxC9iplace the hexadecimal number of C9h in register one taking 0.1 us MOV R2, #0x64.place the hexadecimal number of 64h in register two taking 0.1 us Loop: NOP do nothing and just absolutely waste time of 0.1 us MUL AB perform a wasted multiply operation that takes 0.4 us DJNZ R1, Loop decrement R1 & if result is not zero branch to the loop label taking 0.2 us DJNZ R2, Loop idecrement R2 & if result is not zero branch to the loop label taking 0.2 us END

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!