Difference between revisions of "CSC231 Homework Solutions 2017"

From dftwiki3
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
--[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 17:57, 22 April 2017 (EDT)
 
--[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 17:57, 22 April 2017 (EDT)
 
----
 
----
 +
<onlydft>
 
=Problem 1=
 
=Problem 1=
 
::<source lang="asm">
 
::<source lang="asm">
Line 981: Line 982:
 
</source>
 
</source>
 
<!-- ================================================================= -->
 
<!-- ================================================================= -->
<onlydft>
+
 
=funcs.c=
+
=Homework 9: funcs.c=
 
<br />
 
<br />
 
::<source lang="c">
 
::<source lang="c">
Line 1,051: Line 1,052:
 
}
 
}
 
</source>
 
</source>
=hanoi.asm=
+
=Homework 9: hanoi.asm=
 
<br />
 
<br />
 
::<source lang="asm">
 
::<source lang="asm">
Line 1,068: Line 1,069:
 
;;;    nasm -f elf  hanoi.asm   
 
;;;    nasm -f elf  hanoi.asm   
 
;;;    ld -melf_i386 -o hanoi hanoi.o 231Lib.o
 
;;;    ld -melf_i386 -o hanoi hanoi.o 231Lib.o
;;;    ./hanoi      
+
;;;    ./hanoi   3   
 
;;;       
 
;;;       
  

Latest revision as of 16:55, 16 September 2017

--D. Thiebaut (talk) 17:57, 22 April 2017 (EDT)



...