CSC231 Homework 3 Fall 2012

From dftwiki3
Revision as of 12:51, 19 September 2012 by Thiebaut (talk | contribs) (Created page with "--~~~~ ---- <tanbox> This homework can be done in pair. It is due at 11:59 p.m. + 1 min on 9/26/12 (which might be Mountain Day...) </tanbox> =Problem #1= What is left in e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

--D. Thiebaut 13:51, 19 September 2012 (EDT)


This homework can be done in pair. It is due at 11:59 p.m. + 1 min on 9/26/12 (which might be Mountain Day...)


Problem #1

What is left in eax, ebx, ecx, and edx after the following instructions have executed:

mov eax, 0x0
mov ebx, 0x12345678
mov ecx, 0x87654321
mov edx, 0xffffffff

mov al, bl
mov ah, ch
mov dl, dh
mov dh, bl
mov bx, cx
mov cx, 0

Problem #2