t2f05 - Fall 2005 Test 2 - No calculator or electronic...

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

View Full Document Right Arrow Icon
Page 1 Fall 2005 – Test 2 - No calculator or electronic equipment allowed. 01. What is the hex value in ax after executing all these instructions? mov ax,0104h mul ah mul al A. 0000 B. 0010 C. 0004 D.0040 E. none of the previous 02. What is the hex value in ax after executing all these instructions? mov ax,0002h mov cx,ax neg cx imul cx A. 0004 B. 01FC C. FFFC D. FF04 E. none of the previous 03. What is the hex value in ax after executing all these instructions? mov ax,0FFFDh mov cx,00FEh idiv cl imul ah A. 0001 B. 0002 C. FFFE D. FFFF E. none of the previous 04. What is the hex value in ax after executing all these instructions? mov ax,0101h mov bx,0002h mul bl div bl A. 0000 B. 0100 C. 0001 D. 0101 E. none of the above because the div bl will cause a divide overflow
Background image of page 1

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

View Full DocumentRight Arrow Icon
Page 2 05. Given these hex values: ax=000B bx=0005 cx=0002 dx=0000 What are the hex values in ax and dx after executing these instructions? div bx mul cx A. ax=0004 B. ax=0204 C. ax=0002 D. ax=0004 dx=0002 dx=0000 dx=0001 dx=0000 E. none of the above 06. Given these hex values: ax=0002 bx=0002 cx=FFFF dx=0000 What are the hex values in ax and dx after executing these instructions? imul cx idiv bx A. ax=0000 B. ax=0000 C. ax=FFFF D. ax=FFFF dx=0000 dx=FFFF dx=0000 dx=FFFF E. none of the above 07. Given these hex register values: ax=FFFF bx=007F cx=0080 dx=00FF Which instruction will cause a divide overflow. A. idiv bl
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/28/2009 for the course CSC 236 taught by Professor Lasher during the Spring '09 term at N.C. State.

Page1 / 6

t2f05 - Fall 2005 Test 2 - No calculator or electronic...

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