results demonstrating the DAA B The code for UNz is 75 write
results demonstrating the DAA B. The code for UNz is 75. write the proper for the JNz PoINT2 instruction. ADDRESS INSTRUCTION MOV CX, OA. Mov BX, 04 103 106 SUB AX, AX be POINT1 NOP 10A INC BL MUL BL DEC CX. JNZ POINT2 ADD BX, 04 3 C 304 116 POINT C. The code for JMP is EB. For the above program write the opcode for JMP POINT 1 D. Show how data will be placed in memory as a result of the following instructions ORG 800H DATA DW 6080H, 1AB3H, 16 DATA2 DB 06, 45H?, 10, 0AH DATA3 DB 2 DUP (05, 25H)
Solution
b) JNZ opcode is 75. The JNZ POINT2 instruction has the opcode of 75 address of POINT2.
Therefore opcode is 75 118
c) The code for JMP is EB.
JMP is also same as above. Then opcode is 75 108
d) ORG 800H // Tells the assembler to set the location counter to 800h
DATA1 DW 6080H,1AB3H,16 // DATA1 array variable of size word with addresses 6080h,1ab3h,16
DATA2 DB 06,?,45H?,10,0AH //Data2 array variable, each size byte first is initialised to 06 and second uninitialised,third initialised to 45h, 4th-uninitialised, 5th-10, 6th-0Ah//
DATA3 DB 2 DUP(05,?,25H) //Data3 array of size 2,each of byte , 1st-05, 2nd-uninitialised, 3rd-25h are assigned.
