Modify TOY.java to support a 216-word TOY memory by changing the meaning of every memory reference instruction to be indirect, through the first 256 words of the memory. For example, the instruction 8A23 should load into R[A] the memory word whose 16-bit address is in M[23]. Implement a version of sum.toy for this machine that can add 10,000 16-bit two’s complement values.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here