Question: Write an INTEL 80x86 assembly language program to: MOV EAX, 0FFFFh ADD AX, 1 ADD AL, 1 MOV EBX, 0FFh AND BL, 55h AND BL,

  1. Write an INTEL 80x86 assembly language program to:

MOV EAX, 0FFFFh

ADD AX, 1

ADD AL, 1

MOV EBX, 0FFh

AND BL, 55h

AND BL, 0AAh

INC BL

INC BL

DEC BL

DEC BL

  1. Show the machine code of the above program for each instruction.
  2. Show the Carry and Z flags after each instruction. Confirm your answer by running the program step by step and checking the EFL register.
  3. Show the screen shot of the register window after executing the last instruction.
  4. Show the screen shot of the memory window that has the machine code of the above code.

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!