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

Using the data segment when needed show IMMEDIATE MOVE COMMANDS: a. Immediate to

ID: 3830264 • Letter: U

Question

Using the data segment when needed show IMMEDIATE MOVE COMMANDS: a. Immediate to register(byte) b. Immediate to register(word) c. Immediate to memory-direct(byte) d. Immediate to memory-direct(word) e. Immediate to memory-indirect(byte) f. Immediate to memory-indirect(word) Using the data segment and registers when needed show MEMORY MOVES: a. Memory to memory-direct(byte) b. Memory to memory-indirect(word) c. Move into register a byte value in the memory location two bytes from the starting address(direct)

Explanation / Answer

2) Using data segment when needed show Immediate MOVE commands:

a) Immediate to Register (byte):

                        MOV AL, 0FFH;         

                        MOV AH, 0FFH;

Move 8-bit data 0FFh to AX register or AL register directly.

b) Immediate to Register (word):

                        MOV AX, 0FFFFH

Move 16-bit data 0FFFFH to AX register directly.

c) Immediate to Memory-direct (byte):

                        MOV [1223H],0FFH;

Move 8-bit data 0FFh to memory location 1223H. Physical address of memory location denoted by

DS*10 + 1223h.

d) Immediate to Memory-direct (word):

                        MOV [1234H], 0FFFFH

Move 16-bit data 0FFFFh to memory location 1234h. Physical address of memory location denoted by

DS*10 + 1234H.

e) Immediate to Memory-indirect (byte):

                        MOV [SI], 0FFH;

Move 8-bit data 0FFh to memory location denoted by SI register. Physical address of memory location denoted by DS*10 + [SI].

f) Immediate to Memory-indirect (word):

                        MOV [SI], 0FFFFH;

Move 16-bit data 0FFFFh to memory location denoted by SI register. Physical address of memory location denoted by DS*10 + [SI].

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote