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
http://www.raritanval.edu/uploadedFiles/faculty/cs/full-time/Brower/CISY256/2013Spring/CISY256%20Assembly%20Project.pdf

what is the hex value in ax after executing the instructions ax= 1E8A bx=4080 add al,bl sub ah,bh

NOT : Logical Invert: The NOT instruction complements (inverts) the contents of an a memory location or operand register bit by bit. The instance are as following: Example :

Description: LC3 allows input from keyboard and output to display on the screen. This lab will exercise the input/output capability using LC-3 Assembly language. Procedure

programs

Prime Finder - assembly program: Problem:  Prime Finder   In this problem you will write a small program that tests whether a given integer is a prime number or not.  Let's

SHR : Shift Logical Right: This instruction performs bit-wise right shifts on the operand word or byte that might be reside in  a memory location or a register, by the specified c

how to add 111 and 333 in assembly language

Addressing mode of 8086 : Addressing mode specify a way of locating operands or data. Depending on the data types used the memory  addressing  modes and in the instruction  ,

need some project ideas