Question: assembly language in Dosbox PART 11 CREATE CODE AND CALCULATE THE AMOUNT OF TIME IT WILL TAKE TO RUN Use the enter command in debug
assembly language in Dosbox

PART 11 CREATE CODE AND CALCULATE THE AMOUNT OF TIME IT WILL TAKE TO RUN Use the enter command in debug to enter the following bytes 01, 02, 03, 04, 05, 06, 07, 08, 09 At offset 1000 of the default data segment Using the MOV, ADD and JMP instructions create a short program that adds (sums) the 10 numbers and saves the summed result into offset 100A of the same segment (note that the running total result can be saved in the loop). Since this uses an unconditional jump the program would overwrite the result memory if you step through the loop more than 10(decimal) times. Calculate the total time (number of clock cycles based on the 8086 processor), the program will take to run using the instruction timing data sheets Write out your program and give the number of clock cycles for each instruction then the sum the total time for 10 loops Use these instructions with any of the available memory modes (note depending on how you code it you can have a wide range of timing results) Mov Add Inc Jmp 100 PART 11 CREATE CODE AND CALCULATE THE AMOUNT OF TIME IT WILL TAKE TO RUN Use the enter command in debug to enter the following bytes 01, 02, 03, 04, 05, 06, 07, 08, 09 At offset 1000 of the default data segment Using the MOV, ADD and JMP instructions create a short program that adds (sums) the 10 numbers and saves the summed result into offset 100A of the same segment (note that the running total result can be saved in the loop). Since this uses an unconditional jump the program would overwrite the result memory if you step through the loop more than 10(decimal) times. Calculate the total time (number of clock cycles based on the 8086 processor), the program will take to run using the instruction timing data sheets Write out your program and give the number of clock cycles for each instruction then the sum the total time for 10 loops Use these instructions with any of the available memory modes (note depending on how you code it you can have a wide range of timing results) Mov Add Inc Jmp 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
