Difference between revisions of "CSC103 Schedule 2011"
(→Weekly Schedule) |
(→Weekly Schedule) |
||
Line 129: | Line 129: | ||
***[[CSC103_Assembly_Program_2 | A second program]] | ***[[CSC103_Assembly_Program_2 | A second program]] | ||
* '''Wednesday''' | * '''Wednesday''' | ||
− | |||
** Execution of an instruction ([[Media:ExecutionOfInstruction.pdf|pdf]]) | ** Execution of an instruction ([[Media:ExecutionOfInstruction.pdf|pdf]]) | ||
*** LOD-C 1 | *** LOD-C 1 | ||
+ | ::::<font color="magenta">Exercise 1:</font> initialize the contents of several variables to 0 | ||
*** LOD 10 | *** LOD 10 | ||
+ | ::::<font color="magenta">Exercise 2:</font> increment a counter | ||
+ | ::::<font color="magenta">Exercise 3:</font> compute sum of 3 variables | ||
+ | |||
*** LOD-I 10 | *** LOD-I 10 | ||
+ | ::::<font color="magenta">Exercise 4:</font> create an index and use it to sum up the same 3 variables | ||
** Loops (infinite loop) | ** Loops (infinite loop) | ||
− | *** JMP | + | *** JMP instruction and '''labels''' |
− | + | ::::<font color="magenta">Exercise 5:</font> create an infinite loop (incrementing a variable, for example) | |
+ | ::::<font color="magenta">Exercise 6:</font> create an infinite loop that clears the memory starting at 10 | ||
+ | ::::<font color="magenta">Exercise 7:</font> why does the program of Exercise 6 stop? | ||
** Controlled Loops | ** Controlled Loops | ||
*** JMP-Z | *** JMP-Z | ||
+ | ::::<font color="magenta">Exercise 8:</font> write a loop that loops 10 times (use a counter) | ||
+ | ::::<font color="magenta">Exercise 9:</font> write a loop that stores 55 in the memory locations between 15 and 30 | ||
** [[CSC231_Homework_9_Solution_2010| Example]] of a real assembly language program | ** [[CSC231_Homework_9_Solution_2010| Example]] of a real assembly language program | ||
** [http://www.pcguide.com/res/tablesASCII-c.html ASCII Table]: even characters are stored in computers as numbers! | ** [http://www.pcguide.com/res/tablesASCII-c.html ASCII Table]: even characters are stored in computers as numbers! |
Revision as of 07:55, 16 February 2011
--D. Thiebaut 08:44, 7 January 2011 (EST)
Prof
Dominique Thiébaut email |
Weekly Schedule
Week | Topics | Reading |
Week 1 1/24 |
|
|
Week 2 1/31 |
|
|
Week 3 2/7 |
|
Please watch the following videos before the lab on 2/7! |
Week 4 2/14 |
|
|
Week 5 2/21 |
|
|
Week 6 2/28 |
|
|
Week 7 3/7 |
|
|
Week 8 3/14 |
|
|
Wiki pages
Click here to access the class Wiki pages.
Additional Resources
- IEEE Special Issue on Singularity
- Stock pictures
- Javascript Resources
- Tutorials and examples of Javascript code. Type in the code and see its effect directly on the same page.