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

What instruction would you use to invert all the bits in a register? Invert mean

ID: 3865819 • Letter: W

Question

What instruction would you use to invert all the bits in a register? Invert means make all the zero's one and all the one's zero's. What is the value of ECX in decimal after the following completes executing? mov ECX, 5000 here: nop loop here What assembly instruction would you use to add the AX and BX registers together and place the result in the AX register? mov AX, BX add AX, BX add BX, AX sum BX, AX Given ESI = 5 and EBX = 1, what memory location is the following instruction addressing? mov al, [ESI+EBX+1] Answer in decimal.

Explanation / Answer

Q27. If you want to invert bits of register1 (R1) then,

            SER R2                                   (this sets all bits of register2 (R2))

            XOR R1, R2                          

Q28.   121

Q29.   add AX, BX

Q30.   89

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