You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sicp-all-tasks/sicp/5_002e15

8 lines
304 B

Exercise 5.15: Add
instruction counting
to the register machine simulation. That is, have the machine model
keep track of the number of instructions executed. Extend the machine model’s
interface to accept a new message that prints the value of the instruction
count and resets the count to zero.