Difference between revisions of "CSC103 Assembly Program 1"

From dftwiki3
Jump to: navigation, search
 
Line 4: Line 4:
 
<code><pre>
 
<code><pre>
  
LOD-C 3
+
LOD-C 3
STO     10
+
STO 10
LOD-C 4
+
LOD-C 4
STO     11
+
STO 11
LOD     10
+
LOD 10
ADD     11
+
ADD 11
STO     12
+
STO 12
 
HLT
 
HLT
 +
  
 
</pre></code>
 
</pre></code>

Latest revision as of 07:55, 24 September 2008

Back to weekly schedule


A First Assembly Program


LOD-C 3
STO 10
LOD-C 4
STO 11
LOD 10
ADD 11
STO 12
HLT