% Author: Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Date: Winter 2011 - January to April 2011 - Updated 2011-04-22 13:40 EDT % Title: Week 13 Notes for DAT2343 - Winter 2011 - [Course Home Page] - [Course Outline] - [All Weeks] - [Plain Text] Final Exam Instructions ======================= - The Final Exam date is posted on the [Course Home Page]. - For full mark credit, read the [Test Instructions] for important directions on how to enter your answers on the mark-sense forms. Lecture Notes for This Week =========================== - **review linking and loading** From the Class Notes link on the Course Home Page ------------------------------------------------- - [Course Home Page] - [All Weeks] - [Assignment #11] - LMC control statements and subroutine calls - [Assignment #12] - LMC Linking, Relocation, and Loading - [301_LMC.html] - The “Little Man” Computer - [302_LMC_instruction_cycle.txt] - The Little Man Computer Instruction Cycle - [305_LMC_opcodes.html] - Extended LMC Operation Codes - Opcodes - [306_LMCProgramming.html] - LMC Machine Level Programming - [307_LMC_lights.txt] - LMC Negative Flag Trickery - [310_Comparison_of_the_LMC_and_General_Computer_Models.pps] - - [310_Comparison_of_the_LMC_and_General_Computer_Models.ppt] - - [350_LMC_sample1.txt] - add and subtract - [350_LMC_sample2.txt] - input, add, output - [350_LMC_sample3.txt] - input, add, and loop using a counter - [350_LMC_sample4.txt] - input, IF, output - [350_LMC_sample5.txt] - WHILE loop quotient and remainder - [350_LMC_sample6.txt] - negative flag and a FOR loop - [350_LMC_sample7.txt] - subroutine call/return and linkage - [360_LMC_Simulator.html] - Clone of Son of LMC Simulator - [361_LMC_Simulator_Usage.pps] - - [361_LMC_Simulator_Usage.ppt] - - [362_LMC_control.html] - LMC Loop and Skip Condition Calculations - [363_LMC_indirect.txt] - LMC Indirection Tricks - [364_LMC_bootstrap.html] - The Bootstrap Process (including LMC) - [365_Bootstrap_Process.ppt] - [365_Bootstrap_Process.wmv] - [370_LMC_link.html] - Linking and Generation of Executable Code from Source Program Files - [373_LMC_object_file_format.html] - Linking and External “Object” Files and Libraries - [380_LMC_coding_help.txt] - Comments on writing and commenting LMC Code - [400_GeneralModel.html] - The General Computer Model - [410_MachineLevelInstructions.html] - Machine Level Instructions (in the General Model) - [415_HardwareInterrupts.html] - Hardware Interrupts - [420_Accessing_Interrupt_Services.pps] - [420_Accessing_Interrupt_Services.ppt] From Blackboard Course Documents -------------------------------- These documents have restricted distribution and cannot be put on the [Course Home Page]. - [05.ppt] - Instruction Set Architectures - Read: slides 1-29 only - For interest: 29 to 46 (optional) From the Internet ----------------- - Vote May 2! RMR - Vote May 2! uOttawa VOTE MOB - Vote May 2! leadnow.ca - Vote May 2! Net Neutrality - Vote May 2! Network Surveillance - Vote May 2! Fair Vote - Vote May 2! Parliamentary Procedure - Vote May 2! Press Centre - Vote May 2! Auditor General - Vote May 2! Mean People From the Classroom Whiteboard/Chalkboard ---------------------------------------- - Your in-class notes go here. - The LMC (continued) - review linking object files - in-class example: relocated Dble to load at 20 instead of at zero This example was not done: **This is a subroutine. How many arguments? What does this code do?** 00 000 01 000 02 100 03 411 04 200 05 802 06 908 07 902 08 100 09 311 10 901 11 002 Not done: *Relocate the code to load at 20* This example was not done: **Using only the object file machine code and tables, load Pause and Dble starting at location 20.** - [Assignment #12] - LMC Linking, Relocation, and Loading - Instruction Set Architectures [05.ppt] - Immediate addressing - Direct addressing - Indirect addressing - Register+Indirect addressing - General Computer Model Some Final Exam Topics ---------------------- See Week 14. -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [Course Home Page]: .. [Course Outline]: 2010-2011_DAT2343.pdf [All Weeks]: indexcgi.cgi [Plain Text]: week13notes.txt [Test Instructions]: 000_test_instructions.html [Assignment #11]: assignment11.txt [Assignment #12]: assignment12.txt [301_LMC.html]: 301_LMC.html [302_LMC_instruction_cycle.txt]: 302_LMC_instruction_cycle.txt [305_LMC_opcodes.html]: 305_LMC_opcodes.html [306_LMCProgramming.html]: 306_LMCProgramming.html [307_LMC_lights.txt]: 307_LMC_lights.txt [310_Comparison_of_the_LMC_and_General_Computer_Models.pps]: 310_Comparison_of_the_LMC_and_General_Computer_Models.pps [310_Comparison_of_the_LMC_and_General_Computer_Models.ppt]: 310_Comparison_of_the_LMC_and_General_Computer_Models.ppt [350_LMC_sample1.txt]: 350_LMC_sample1.txt [350_LMC_sample2.txt]: 350_LMC_sample2.txt [350_LMC_sample3.txt]: 350_LMC_sample3.txt [350_LMC_sample4.txt]: 350_LMC_sample4.txt [350_LMC_sample5.txt]: 350_LMC_sample5.txt [350_LMC_sample6.txt]: 350_LMC_sample6.txt [350_LMC_sample7.txt]: 350_LMC_sample7.txt [360_LMC_Simulator.html]: 360_LMC_Simulator.html [361_LMC_Simulator_Usage.pps]: 361_LMC_Simulator_Usage.pps [361_LMC_Simulator_Usage.ppt]: 361_LMC_Simulator_Usage.ppt [362_LMC_control.html]: 362_LMC_control.html [363_LMC_indirect.txt]: 363_LMC_indirect.txt [364_LMC_bootstrap.html]: 364_LMC_bootstrap.html [365_Bootstrap_Process.ppt]: 365_Bootstrap_Process.ppt [365_Bootstrap_Process.wmv]: 365_Bootstrap_Process.wmv [370_LMC_link.html]: 370_LMC_link.html [373_LMC_object_file_format.html]: 373_LMC_object_file_format.html [380_LMC_coding_help.txt]: 380_LMC_coding_help.txt [400_GeneralModel.html]: 400_GeneralModel.html [410_MachineLevelInstructions.html]: 410_MachineLevelInstructions.html [415_HardwareInterrupts.html]: 415_HardwareInterrupts.html [420_Accessing_Interrupt_Services.pps]: 420_Accessing_Interrupt_Services.pps [420_Accessing_Interrupt_Services.ppt]: 420_Accessing_Interrupt_Services.ppt [05.ppt]: http://blackboard.algonquincollege.com/ [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/