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
Instruction Formats A machine language instruction format has 1 or more number of fields linked with it. The first field is known as operation code field or op code field, whic

The Intel Processors :         The Intel Corporation is the biggest manufacturer  of microchips  in the world,  in addition  to being  the leading provider of chips for PCs. I

CAN U GIVE BRIEF THEORY

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

Using the AddSub program from Ch3 under c:\Masm615\examples as a reference, write a program that subtracts three 16-bit integers using only registers. Insert a call DumpRegs statem

LIST p=18f4550 #include org 0x0000 movlw 0x00 _________ movlw 0xFF movwf PORTB end .

need some project ideas

I/O interface I/O  devices such as displays and keyboards  establish  communication of computer with outside world. Devices may be interfaced in 2 ways Memory mapped I/O and I/

SUB: Subtract :- The subtract instruction subtracts the source operand from destination operand and result is left in the destination operand. Source operand might be memory locati

8279 Keyword /Display Controller : Figure shows the structure of 8279 and its interface to the bus. Addressing is according to the table given below. CS        RD