Constructor
new CPU()
Create the CPU and its components. The CPU is composed of hardware
registers, ALU, control unit, PAU, and DAU.
- Source:
Classes
Methods
compute()
Computes the output of the CPU based on the control signals generated by
control unit for the incoming signal. Depending on the instruction this may
involve reading from or writing to memory, reading from or writing to the
registers, or performing an ALU operation. The result of ALU operations may
change the status register or accumulator or both.
- Source: