Difference between revisions of "CSC103 Assembly Program 1"

From dftwiki3
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[CSC103_Weekly_Schedule | Back]] to weekly schedule
 +
----
 
=A First Assembly Program=
 
=A First Assembly Program=
 
<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