Machine code: Difference between revisions
Content added Content deleted
m (Changed past tense to present tense in opening paragraph. Forgot that coding in either assembly or BASIC on a Commodore computer is still relevant to many people.) |
m (Clarified the program a little bit.) |
||
Line 231: | Line 231: | ||
8202 data 141,2,32 :rem sta $2002 |
8202 data 141,2,32 :rem sta $2002 |
||
8205 data 96 :rem rts</lang> |
8205 data 96 :rem rts</lang> |
||
'''Notes''' |
|||
* Line 20 checks to see if the ML routine has already been loaded into memory. If not, visit the loader routine. |
|||
* Line 30 clears the memory locations (sets to zero) for the two addends and the sum. |
|||
{{Output}} |
{{Output}} |