Homework 3 Information, ECS50 Summer 2007
- Do all problems.
- Written homework due in class on Tuesday, Aug 28th
- Programs due by Midnight on Tuesday, Aug 28th
Assignment:
(1) Problem 6.1 (d), (e), (f), (f), (g) (not a misprint! :-)
(2) Problem 6.2
(3) Problem 6.5
(4) Problem 6.7 using the following calls:
procedure Saul(a:integer; b:integer_array)
function Malone(c,d: integer; e,f:integer_array; var g:integer):integer;
(5) Problem 6.8 using above information
(6) Problem 6.9 using above information
(7) Problem 6.12 (program), with the following modifications:
Instead of working with addressing modes, work with opcodes. There are
9 different types of instructions (data transfer, arithmetic,
comparison, etc.) Calculate a histogram of the different types of
operand instructions (you can ignore the operate ones).
(8) Problem 7.4 (program)
(9) Problem 8.1 (c), (g), (h), (d), (e), (f)
(10) Problem 8.3
(11) Problem 8.4
(12) Problem 8.7
(13) Problem 8.10
(14) Problem 8.13 (The solution to Problem 8.8 is provided on the CUSP disk)
(The CUSP disk is in ~farrens/academic/50/cusp.exp)