Difference between revisions of "CSC231 Homework Solutions 2017"
(One intermediate revision 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 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 |
;;; | ;;; | ||
Line 1,186: | Line 1,187: | ||
</source> | </source> | ||
− | + | </onlydft> | |
<br /> | <br /> | ||
<br /> | <br /> |