Eax and ax register, Assembly Language

MyLocation SDWORD 14
TheTest        SDWORD 8

    mov    eax,MyLocation
    mov    ebx,TheTest
    neg     eax,ebx
    sub     eax,ebx

Show exactly what lives in eax after execution of the above code (Hint: Answer in hex pairs).

TestArray     WORD    3 DUP         (0), 5,6,7
    
    Test1    DWORD    LENGTHOF    TestArray
    Test2    DWORD    TYPE            TestArray
    Test3    DWORD    SIZEOF        TestArray

Show exactly what lives in Test1, Test2 and Test3 after execution of the above code. (Hint: Answer each as hex pairs).

TheArray WORD   A1h, B2h, C3h, D4h

    mov eax, 0
    mov ax, [TheArray+6]

Show exactly what lives in ax after execution of the above code. (Hint: Answer in hex pairs).

Posted Date: 3/8/2013 12:50:31 AM | Location : United States







Related Discussions:- Eax and ax register, Assignment Help, Ask Question on Eax and ax register, Get Answer, Expert's Help, Eax and ax register Discussions

Write discussion on Eax and ax register
Your posts are moderated
Related Questions
Will be needing help with assembly language assignments over the course of 4 weeks


Write a program on the assembly language to do the following: 1- Allocate array with 32bit 100 element 2- Prompt the user to enter the maximum or the upper bound of the rando

Modes of 8254 :   Mode 0 (Interrupt on Terminal Count)-GATE which value is 1 enables counting and GATE  which value is 0 disables counting, and GATE put not effect on

Difference between div and idiv

ADD:  Add :- This instruction adds an immediate contents of a memory location specified in the a register ( source ) or instruction to the contents of another register (destinat

hi!im looking for someone who expert in an assembly language and help me write the programmed!Thank you


Port Mapped I/O or I/O Mapped I/O I/O devices are mapped into a separate address space. This is generally accomplished by having a different set of signal lines to denote a mem

What is the hex for + and - under with a sum involved