Design of A Basic Computer | Computer Architecture YASH PAL, October 18, 2025February 23, 2026 Design of Basic Computer in Computer Architecture – To design a Basic computer, we need to put all of these components together in one system. As shown inthe figure below. A basic computer that has no interrupt facility consists of the following hardware components.Memory UnitRegister ArrayControl UnitArithmetic and Logic UnitCommon Bus SystemBasic Computer DesignBasic Components to Design a ComputerA basic computer consists of the following hardware components:A memory unit with 4096 words of 16 bits eachNine registers: AR, PC, DR, AC, IR, TR, OUTR, INPR, and SCSeven flip-flops: I, S, E, R, IEN, FGI, and FGOTwo decoders in the control unit: a 3 x 8 operation decoder and a 4 x 16 timing decoderA 16-bit common busControl Logic GatesThe adder and Logic circuit are connected to the AC input.Memory UnitLet us consider, for a basic computer system, a memory size of 4k x16 bits is sufficient. In such memory, there are 4096 words with a size of each word 16 bits. Since there are 4k (212) words, 12-bits are required to specify the address of an operand in memory. In the simplest form of computer organization, instructions are stored in one section of the memory and data in another section.Other units of basic computer has to ways to access the memory. It may read a location by transferring a copy of the memory cell to itself. Alternatively, another unit may write to a memory location. A write operation transfers new data to the memory location, overwriting its previous contents. Reading and writing operations on the memory unit can be performed only occurring of proper control signal occurs. For reading, the control signal: read, and for writing control signal: write is generated by the control unit.The figure below shows the basic architecture of a memory unit (size 4k× 16 bits) with two control signals, read and write.Memory UnitRegister ArrayIn a basic computer, a processor register is a small amount of storage that is available to the processor. The computer hardware contains various registers like address register (AR), Program counter (PC), data register (DR), accumulator (AC), instruction register (IR), temporary register (TR), output register (OUTR), input register (INPR), and sequence counter (SC). These registers have their own functions. The table below gives a brief description of each register used in basic computer architecture.Register NameSymbolNumber of bitsDescriptionAddress RegisterAR12Holds the address of instructionProgram CounterPC12Holds address of instructionData RegisterDR16Holds the address of instructionAccumulatorAC16Processor registerInstruction RegisterIR16Holds temporary dataTemporary RegisterTR15Holds temporary dataOutput RegisterOUTR8Holds output dataInput RegisterINPR8Holds input dataSequence counterSC12Holds sequence counter valueThere are three flip-flops (I, S, and E) that are used to store various conditions of the processor operations. The addressing mode of an instruction is designated by the I flip-flop. The flip-flop is 0 (reset) for a direct address and 1 (set) for an indirect address. In other words, if the I flip-flop is reset, then the current instruction is recognized as a direct address instruction, and if the I flip-flop is set, then as an indirect address instruction.The S flip-flop represents the sign of the result after performing an arithmetic or logic operation. This flip-flop is a replica of the most significant bit of the result. This flip-flop shows the correct sign if sign-magnitude representation is used while performing the operation.When an arithmetic operation is performed, the result is transferred to the accumulator. If the result is more than the accumulator size, then it is transferred to flip-flop E. For example, the contents of the data register (DR) and accumulator (AC) are added. The result of the addition will be transferred to the accumulator, and the end carry out of the addition will be transferred to fliр-flop Е.Control UnitThe control unit is the unit that directs the other units to perform the specific task. The control unit of a basic computer consists of two decoders, a sequence counter, and a number of control logic gates. The figure shows the control unit of a basic computer.Control unit of basic computerAn instruction read from the memory unit is placed in the instruction register (IR) as shown in the above figure. The operation code (opcode) bits (12-14) are decoded by a 3 x 8 decoder. The outputs of the decoder are designated by D0 to D7. In the same manner, the output of the sequence counter is decoded by a 4 x 16 decoder. The output of this decoder is designated by T0 to T15.The sequence counter has three input signals. Increment, clear, and clock. Usually, the sequence of timing signals comes out of a 4 x 16 decoder. The sequence counter is incremented with every positive clock transition, unless it is cleared by the CLR input. If the sequence counter is not cleared, the timing signals continue with T0 T1 ……… up to T15, and back to T0.The control logic gates block has various inputs: output from two decoders, the I flip-flop, bits 0 through 11 of the instruction register (IR), and other inputs. The other inputs to the control logic are the contents of the accumulator, data register, and values of other flip-flops.The output of the control logic circuit is –Signal to control the inputs of various registersSignals to control the writing and reading operations of the memory unitSignals to set, clear, or complements of flip-flopSignals for selection lines to select a register for the common busSignals to control the arithmetic and logic unit.Arithmetic and Logic UnitThe arithmetic and logic unit (ALU) performs arithmetic and logic operations on the contents of internal registers. It performs various operations like addition, subtraction, multiplication, logical AND, etc. In a few applications, the shift operation is also desired. For such cases, a shifter circuit may be added to this unit. Now this unit is named the arithmetic logic shift unit. For more knowledge about arithmetic, Logic and shift micro operations, read the articles.Number System ArithmeticMicro operationsCommon Bus SystemA common bus in a basic computer provides a common path between its various units. A 16-b common bus is already shown in this article – Common bus system in computer architecture. The bus structure consists of a set of common lines, one for each bit of a register, through which binary information is transferred one bit at a time. Control signals generated by the control unit determine which register is selected by the bus during each particular register transfer.Related Questions and AnswersWrite the names of various components of a basic computer (without an interrupt facility).A basic computer that has no interrupt facility consists of the following hardware components:Memory UnitALURegister ArrayCommon Bus SystemControl UnitWhat is the function of the control unit of a computer?The control unit is the unit that directs the other units to perform the specific task. Computer System Architecture engineering subjects Computer System Architectureengineering subjects