Difference between revisions of "CSC103: DT's Notes 1"

From dftwiki3
Jump to: navigation, search
Line 1,267: Line 1,267:
 
to add extra information for other programmers who may read the code.  
 
to add extra information for other programmers who may read the code.  
  
{|
+
{|  
 
! instruction
 
! instruction
 
! comment
 
! comment
 
|-
 
|-
|
+
|style="width: 40%; background-color: white;"|
 
  start: lod-c 55
 
  start: lod-c 55
| start: is a label.  It is a word we choose that cannot be confused with an instruction.  It is a way
+
|  
 +
''Start:'' is a label.  It is a word we choose that cannot be confused with an instruction.  It is a way
 
of documenting the program.  The instruction loads the constant 55 into the AC register.
 
of documenting the program.  The instruction loads the constant 55 into the AC register.
 
|-
 
|-

Revision as of 11:41, 22 September 2013

--© D. Thiebaut 08:10, 30 January 2012 (EST)



This section is only visible to computers located at Smith College













.