CS225,  Fall 2006,  Monday Nov. 20, Day 37after class Hit reload!


HW Day 36, Due Monday Day 37   (5 class days after today) 

A) Continue with programming.  SubGoal:  To have a  working program (main & procedures combined) by Monday, with or without refinements.
Presentation to the world,  Monday, Dec. 4, 12-1 in computer lab 100 (2nd to last class).  We will NOT be reworking any more code in class.
Post on the Wiki ASAP,  what you have working (however simple); or if not, something whose bugs you can't solve.

Postpone B)  (See Day 29 for notes) Fancier Addressing modes:  Investigate n (indirect),  sf, sx, sfx, "cold" using RTL (p. A4)
   a) Tell in words what each one does.  Use as the operand specifier 0003, tell what is done to compute the operand.
    b)  Use an imaginary set of microcode operations, on registers B, C, D (and A and X and SP), with our usual operations and more operations which can, for example
         Move B, D  Copy contents of D to B
         AddB, A   Add contents of register A to B
         AddB, Mem[A]   Treat the contents of register A as an address.  Go to that address and add the value at that address to register B.
        (make up any  more you need, using the registers more freely than we actually can.)
      Now write  "microcode" which will calculate the Operand from the OprndSpec, for each of n, sf, sx, sfx addressing modes.  Note, for each,  how many times  you have to go get something from a memory location.

Amnesty extended again:  Any  old "Programs" handed in  by last day of classes will be only 1 day late.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Notes:  Continuing with  TicTacToe,   with Wiki.  Most up-to-date versions of files are on the Wiki.
Review structure, examine algorithms and code.  Solve problems. 
This is the last day of in-class work on TicTacToe.  Presentation to the world,  Monday, Dec. 4, 12-1 in computer lab 100
I will happily debug code posted on the Wiki, turnaround time 4-12 hours, or less if you catch me.  You should debug each other's also, but in discussion, not in the code itself! (too confusing)

The Source page now has an almost-working main, with some quirks.  Several bugs ironed out collectively in class, some remain.

Next week I will spend class time discussing various aspects of computer architecture.
 (Things you will be responsible for on the take-home final)

More about addressing modes  Day 29



To Sievers Home Page
CS225-Fall06/Daya37.htm 
1:30 pm, 11/20/06
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.