Based on the input information, a few operations can be used to process the input values. If there should be operations done with two or more values, store- and loading- operations have to be executed in between before going to the next calculation step.
For example giving the CPU a value to store and next to load into the accumulator by giving the correct operation codes and the storage address. Next giving the CPU the next value and the operation that should be processes onto those to values, for example a AND function. The result will be given to the output converted to a 8-Bit signal.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | storage address Bit 0 | output data Bit 0 | input write-access in storage |
1 | storage address Bit 1 | output data Bit 1 | |
2 | storage address Bit 2 | output data Bit 2 | |
3 | storage address Bit 3 | output data Bit 3 | |
4 | value of input data Bit 0 | output data Bit 4 | input Operation Code Bit 0 |
5 | value of input data Bit 1 | output data Bit 5 | input Operation Code Bit 1 |
6 | value of input data Bit 2 | output data Bit 6 | input Operation Code Bit 2 |
7 | value of input data Bit 3 | output data Bit 7 | input Operation Code Bit 3 |