29
loading...
This website collects cookies to deliver better user experience
Load
signal I will use an SR flip-flop. It can hold a single bit of data and has synchronous set (S) and reset (R) inputs that change its contents when set high. I will also be using an asynchronous input that overrides the flip-flop's contents no matter the clock.Load
signal, it's addressed by the Address Bus and outputs to the Data Bus. Everything just needs to be plugged in with the Load signal generator and we're good to go.Zero
flagLoad
Resume
(for I/O)Halt
NEG
, D->PR
D->ALU
, ALU->D
D->MEM
, MEM->D
D->DP
, DP->D
, DP->A
D->PR
, PR->D
, PR->A
, PR++
I/O
0. PC->A; MEM->D; D->PR; PC++
1. DP->A; MEM->D; D->ALU; PC++;
2. DP->A; ALU->D; D->MEM;
1. DP->D; D->ALU; PC++;
2. ALU->D; D->DP;
1. PC->D; D->ALU; PC++;
2. ALU->D; D->PC;
1. DP->A; I/O; D->MEM; PC++;
1. DP->A; MEM->D; I/O; PC++;