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
need algorithm for multiplication in assembly with out mul function?

Software Interrupts Software interrupts are the result of an INT instruction in an executed program.  It may be assumed as a programmer triggered event that immediately stops e


Convert 751 to hex and show what it would look like stored at TheNumber WORD ? (hint: answer in hex pairs)

calculate the number of one bits in bx and complement an equal number of least significant bits in ax hint use the xor instruction

As an instance of the normal priority mode, imagine that initially AEOI is equal to 0 and all the ISR and IMR bits are clear. Also consider that, as shown in given figure, requests

errorlevel -302 ;prevents error code for this chipset __config 0x373A ;chip config PIC spec page 146 processor 16F877A ;chipset reset code

The addressing modes for the sequential control transfer instructions are described below:   1. Immediate: Immediate data is a part of instruction,in this type of addressin

Architecture Of 8088 The register set of 8088 is accurately the same as in to 8086. The architecture of 8088 is also same to 8086 except for 2 changes; a) 8088 has 4-byte instr

LDS/LES Instruction execution :  LAHF : Load AH from Lower Byte of Flag: - This instruction loads the AH register with the lower byte of the flag register. This instruction ca