This module is the 'command control' for the control unit. It is activated by the instruction decoder if one of the two encoded instructions is present in the instruction register. It indicates which control lines are active in each step and which step follows next. It encodes the commands "Load accu with M(M(X))" and "Store accu in M(M(X))".

So if Memory(100) = 200 and Memory(200) = 15, then 'LDAMM 100' will load 15 into the Accu. I've already implemented a shortened command, so 'LDAM 100' would directly load 200 into the Accu, and 'LDA 100' would load the value 100. These are the three addressing modes. Also STAM 100 and STAMM 100 exists using the same adressing modes.
Peter
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.