CS225,  Fall 2006,  Friday Nov. 17, Day 36Hit reload!


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

A) Continue with programming.  Goal:  To have a  working program (main & procedures combined) by Monday, with or without refinements.
Post on the Wiki ASAP or Email me,  what you have working (however simple); or if not, something whose bugs you can't solve.

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.

More about addressing modes  Day 29



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