CS 5 Homework 6, Fall 2023
Hmmm... Assembly Language Programming!
Due: 10:42pm of Monday, October 23... Encouraged! Lab credit for submitting lab by Wed. 10/12
Submission: submit your solutions on Gradescope
Software
This week's problems are based on the HMMM (Harvey Mudd Miniature Machine) machine simulator and assembler. Documentation and the Python code are here:- Docs: Documentation -- for all of the Hmmm language
- Download: Hmmmwork6_fall23.zip: Hmmmwork6 (f23) — this week's files in a zipped folder
Be sure to unzip this zip archive -- and be sure to keep these files together! (They're needed to run Hmmm.)
Homework 6 Problems
- Problem 0: Reading [5 points; individual only]
(hw6pr0.txt)
There are three choices for the reading this week—or, you're invited to read + respond to the others for up to +5 ec. each
- Problem 1 (Lab 6): Countdown to Hmmm and RandoHmmm Numbers [30 points; individual or pair]
(hw6pr1a.hmmm, hw6pr1b.hmmm, and hw6pr1c.py).
- Problem 2: Hmmm Power... [15 points; individual or pair]
(hw6pr2.hmmm)
- Problem 3: Fibonacci Fun [20 points; individual or pair]
(hw6pr3.hmmm)
- Problem 4: Recursive Power! [10 points; individual or pair]
(hw6pr4.hmmm)
- Problem 5: Looping Back to Python [25 points; individual or pair]
(hw6pr5.py)
- Extra-Credit Problem 6a: HTML compositions [up to +12 e.c. points; individual or pair]
(your html file and screenshots...)
- Extra-Credit Problem 6b: Recursive Fibonacci [up to +8 e.c. points; individual or pair]
(hw6pr6.hmmm)