Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program using the Loop instructions to sum all the odd numbers from 3 to

ID: 3836559 • Letter: W

Question

Write a program using the Loop instructions to sum all the odd numbers from 3 to 17. (Do the math to check your results). Write a program using instruction to the following BCD numbers 3689 + 2867 then demonstrate on paper how the computer obtained the result Write an assembly language program with the placed in the data You can use any program you might have already and insert these lines.) Run the program. Examine the how the computer stored the data starting at address 900H. In the Results Section, you are to analyze explain what was observed. Write (or find) an assembly language program with all the 'over head to include setting up the stack segment (SS) and the data segment (SS) registers Then include the below set of instructions. Unassembled the program and note the code for the JNZ and the JMP instructions.

Explanation / Answer

1)

.code

MOV EAX,0
MOV EBX,#3
MOV ECX,#17
HERE:
ADD AX,BX
INC EBX
INC EBX
CMP EBX,ECX
JNZ HERE

2)

Program:-

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote