Surname 6
Figure 4: Computer registers and memory
5. Bus system
A basic computer has eight registers, control unit, and a memory unit. The bus system
provides the paths necessary for the relay of data between registers and also between the registers
to the memory. To avoid the use of excessive wires, the common bus system is utilized in this
case. The bus system can be constructed from a multiplexer or three-state buffer gates. The out of
seven registers and the memory are all connected to the common bus. The output on the bus will
be selected based on the binary value of the selection variable which are S2, S1, and S0. For
instance, the output of the DR to be placed in the bus line will be S2S1S0 = 011whixh is the value
for decimal 3. The register whose load input (LD) has been activated will receive the data from
the bus in the next clock pulse transition. The input and the output data of the memory are usually
interfaced with the common bus while the memory address will be interface to AR. The AR will,
therefore, be utilized in the specifying of the memory address.
The content of any register can be applied to the common bus and the operation performed
in the adder and the logic circuit in the same clock cycle.
6. Computer Instructions
The basic computer can execute three instruction sets the memory reference, register
reference, and the input-output instruction. The opcode portion of the instruction has three bits and
the remaining 13 bits are dependent on the opcode encountered. A memory reference instruction
utilizes 12 bits to determine the address and one bit to define the addressing mode I. The I is equal
to 0 in thee direct address and 1 for the indirect address. The register reference instruction is