Difference between revisions of "CSC231 Homework 11 2012"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- <center> <font size="+2">Page under construction!</font> <br \>300px </center> =Problem #1= This is a continuation of the Problem #1 ...")
 
(Problem #1)
Line 13: Line 13:
  
 
  -------------------------------------
 
  -------------------------------------
  eax = 00000004 4 4
+
  eax = 00000004 4 4
  ebx = 00000001 1 1
+
  ebx = 00000001 1 1
 
  ecx = FFFFFFFF  4294966272 -1
 
  ecx = FFFFFFFF  4294966272 -1
  edx = 000012FC 4860 4860
+
  edx = 000012FC 4860 4860
 
  edi = FFFFFFFE  4294966271 -2  
 
  edi = FFFFFFFE  4294966271 -2  
 
  esi = 12235557  304305495 304305495
 
  esi = 12235557  304305495 304305495

Revision as of 13:14, 28 November 2012

--D. Thiebaut 13:14, 28 November 2012 (EST)


Page under construction!
UnderConstruction.jpg

Problem #1

This is a continuation of the Problem #1 of Homework 8. Here you need to complete the output of the dumpRegs function so that it outputs all the registers in decimal, both in unsigned and in signed format.

Here's an example of the output of your program.

-------------------------------------
eax = 00000004  4 4
ebx = 00000001  1 1
ecx = FFFFFFFF  4294966272 -1
edx = 000012FC  4860 4860
edi = FFFFFFFE  4294966271 -2 
esi = 12235557  304305495 304305495
-------------------------------------

Requirements

Optional and Extra-Credits

Problem #2