2230TEST1

2230TEST1 - ASSEMBLY LANGUAGE PROGRAMMING TEST #1, SPRING...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ASSEMBLY LANGUAGE PROGRAMMING TEST #1, SPRING 2006 NAME: Jeffery Brutsche STUDENT ID: Q.1 Calculate the value of the 20 bit physical address, expressed in hex, for the following cases. The first value is contained in the code segment (CS), the second in the Instruction pointer (IP). (a) A B C D:1 2 3 4(Hex) ACF14H - 10101100111100010100 (b) A 1 0 0:A B 1 3(Hex) ABB13H - 10101011101100010011 © A B C D: A 1 2 B(Hex) B5DFBH - 10110101110111111011 2. (a) Find the current value of the (TOS) top of the stack for the following values: SS = A B C D SP = 0 1 3 A B1DA 16 (b)What will be the new address of the (TOS) if the values in the registers AX, BX, and CX (in that order) are PUSHED on TOS. It will be the value in CX, but in this order. If CX was originally 1234 it would now be 3412
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© What will be the address of the TOS if the following commands are executed: POP CX POP BX What ever was in AX would be at the top of the stack Q.3. For the output of the dump command shown below, find the physical
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/19/2008 for the course EET 2230 taught by Professor Niamat during the Spring '08 term at Toledo.

Page1 / 5

2230TEST1 - ASSEMBLY LANGUAGE PROGRAMMING TEST #1, SPRING...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online