Exp 3
Exp 3
Program:
1. Generate the machine code of the above assembly language programming using
emu8086 emulator.
4. Write the machine codes in the appropriate memory address according to the following
table:
1006 F9 STC
100D F9 STC
1014 FE C0 INC AL
1016 FE C8 DEC AL
1018 98 CBW
1019 F6 D8 NEG AL
101F F6 E3 MUL BL
1027 F7 EB IMUL BX
102E F6 F3 DIV BL
1035 F6 FB IDIV BL
1037 F4 HLT
5. Execute this program in single step using S. Observe the register contents after
execution of each instruction and note down in the data table. Perform theoretical
calculations and verify results.
Data Table:
Report:
1. Discuss the effect of each instruction/ mnemonics that is used in this program.