Question: In Java please, the bottom pic is slide 31 for Q1 Q1. Rewrite program of slide 31, Chapter 3a to transfer one word at a
Q1. Rewrite program of slide 31, Chapter 3a to transfer one word at a time instead of one byte. 02. In some applications it is common practice to save all registers at the beginning of a subroutine. Assume that SP-1288H before a subroutine CALL Show the contents of the stack pointer and the exact memory contents of the stack after PUSHF for the following 1132 0450 CALL PROC1 1132.0453 INC BX PROC1 PROC PUSH AX PUSH BX PUSH CX PUSH DX PUSH SI PUSH DI PUSHF PROC1 ENDP DW The next three examples show the register, direct, and register indirect addressir ;from the data segment: DATA1 DB 25H DATA2 DB 65H RESULT ? ;from the code segment: MOVAL, DATAI MOV BL, DATA2 MUL BL register addressing mode MOV RESULT, AX or MOV AL, DATA1 MUL DATA2 direct addressing mode MOV RESULT, AX Q1. Rewrite program of slide 31, Chapter 3a to transfer one word at a time instead of one byte. 02. In some applications it is common practice to save all registers at the beginning of a subroutine. Assume that SP-1288H before a subroutine CALL Show the contents of the stack pointer and the exact memory contents of the stack after PUSHF for the following 1132 0450 CALL PROC1 1132.0453 INC BX PROC1 PROC PUSH AX PUSH BX PUSH CX PUSH DX PUSH SI PUSH DI PUSHF PROC1 ENDP DW The next three examples show the register, direct, and register indirect addressir ;from the data segment: DATA1 DB 25H DATA2 DB 65H RESULT ? ;from the code segment: MOVAL, DATAI MOV BL, DATA2 MUL BL register addressing mode MOV RESULT, AX or MOV AL, DATA1 MUL DATA2 direct addressing mode MOV RESULT, AX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
