Difference between revisions of "CSC231 Lab7skel.asm"
Line 14: | Line 14: | ||
section .data | section .data | ||
− | ; ''Put your variables here'' | + | ; ''<font color="green">Put your variables here''</font> |
;; ------------------------- | ;; ------------------------- | ||
Line 24: | Line 24: | ||
− | ; ''Put your code here'' | + | ; ''<font color="green">Put your code here</font>'' |
Line 31: | Line 31: | ||
− | ; ''Put your functions here'' | + | ; ''<font color="green">Put your functions here</font>'' |
... | ... | ||
Revision as of 09:42, 5 November 2010
--D. Thiebaut 13:40, 5 November 2010 (UTC)
;;; Lab7.asm ;;; a simple skeleton program to be linked with driver.c ;;; %include "asm_io.inc" ;; ------------------------- ;; data segment ;; ------------------------- section .data ; Put your variables here ;; ------------------------- ;; code area ;; ------------------------- section .text global asm_main asm_main: ; Put your code here ;; return to C program ret ; Put your functions here ...