Difference between revisions of "CSC103: DT's Notes 1"
Line 1,263: | Line 1,263: | ||
0 | 0 | ||
0 | 0 | ||
− | </pre><code> | + | </pre></code> |
First, the lines starting with semi colons are comments, and not part of the actual program. They allow the programmers | First, the lines starting with semi colons are comments, and not part of the actual program. They allow the programmers | ||
to add extra information for other programmers who may read the code. | to add extra information for other programmers who may read the code. | ||
Line 1,283: | Line 1,283: | ||
|- | |- | ||
| | | | ||
− | ; now loop | + | ; now loop... |
− | ; the loop is | + | ; the loop is ... |
| | | | ||
Two comments to indicate what is going on next. | Two comments to indicate what is going on next. | ||
Line 1,333: | Line 1,333: | ||
|- | |- | ||
| | | | ||
− | @15 | + | @15 |
| | | | ||
We now indicate that we are going to store some variables starting at Address 15. | We now indicate that we are going to store some variables starting at Address 15. | ||
|- | |- | ||
| | | | ||
− | 0 | + | 0 |
| | | | ||
The word at Memory Location 15 is initialized with 0. | The word at Memory Location 15 is initialized with 0. | ||
|- | |- | ||
| | | | ||
− | 0 | + | 0 |
| | | | ||
The word at Memory Location 16 (next logical address after 15) is initialized with 0 as well. | The word at Memory Location 16 (next logical address after 15) is initialized with 0 as well. |
Revision as of 11:39, 22 September 2013
--© D. Thiebaut 08:10, 30 January 2012 (EST)