Difference between revisions of "CSC103 Assembly Program 1"

From dftwiki3
Jump to: navigation, search
(New page: LOD-C 3 STO 10 LOD-C 4 STO 11 LOD 10 ADD 11 STO 12 HLT)
 
Line 1: Line 1:
 +
=A First Assembly Program=
 +
<code><pre>
 +
 
LOD-C  3
 
LOD-C  3
 
STO    10
 
STO    10
Line 7: Line 10:
 
STO    12
 
STO    12
 
HLT
 
HLT
 +
 +
</pre></code>

Revision as of 07:51, 24 September 2008

A First Assembly Program


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