ABSTRACT

Figure.7 shows the arithmetic of ALU and oscillogram of CPU. From the figure, when CPU state = 0, the mission is instruction fetch. In this state, the instruction code (15) in the MEM output port M_q throws into the high 8-bit of instruction register IR, when the clock signal is jumping. And then the content of IR changes to 1500. When state = 1, it carries out the instruction in IR and throws 5 into R0 while the clock is rising edge; when state = 2, Write_Read = ‘0’.