Explore BrainMass

Explore BrainMass

    Assembly Language Programming

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write a program using the mov instruction to produce the following results. Assemble and debug the problem.

    1. Move the contents of register AX to registers BX, SI, and DS.
    2. Move the word contents of memory location DS:1234h to memory location DS:5678h.
    3. Store the number 5678h in memory location DS:2000h using indirect addressing only.
    4. Store the number 1234h in absolute memory address 60000h.

    © BrainMass Inc. brainmass.com March 4, 2021, 6:09 pm ad1c9bdddf
    https://brainmass.com/computer-science/debugging/assembly-language-programming-31597

    Solution Preview

    1. Move the contents of register AX to registers BX, SI, and DS.
    MOV BX, AX ; move AX to BX. etc.
    MOV SI, AX
    MOV DS, AX

    2. Move the word contents of memory location DS:1234h to memory location ...

    Solution Summary

    Assembly Language Programming is examined.

    $2.49

    ADVERTISEMENT