|
On page 65 of the text, there's a sample Hack program that adds 1 continuously to a memory location 'i', until its value reaches 100. I looked through it and I think I understood it, but I don't yet get the use of the second mem. location 'sum'. It doesn't get checked for any conditional jumps, or increment 'i' in anyway. Am I overlooking something?
|