Difference between revisions of "CSC231 Midterm Solutions 2014"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- =CSC231 Midterm 2014= <onlysmith> ;Problem #1 : nybble, byte, word, double word ;Problem 2 :<source lang="text"> '0' <-- x 'x' '3' 'F' 0x0a 0x3F <-- y 0x3F <...")
 
 
Line 67: Line 67:
 
         mov edx, 1
 
         mov edx, 1
 
         call _printString
 
         call _printString
 +
        inc  byte[msg]
 
         mov ecx, dword[temp]
 
         mov ecx, dword[temp]
 
         loop for
 
         loop for

Latest revision as of 08:08, 20 October 2014

--D. Thiebaut (talk) 09:07, 20 October 2014 (EDT)


CSC231 Midterm 2014


This section is only visible to computers located at Smith College

Problem 10
0xAAA = 10*( 16^2 + 16 + 1 ) = 10* ( 256 + 16 + 1 ) = 10 * 273 = 2730