General Purpose Register 3d Rendering
General Purpose Register Module

This module contains the general-purpose registers used with this CPU. There are three registers available to the user and 3 registers used internally only. This module is connected to both the 8-bit data bus as well as the 16-bit address bus. There is an 8-bit control bus that connects directly to the CPU’s control unit.

NameSizePublic
C Register8-bitY
D Register8-bitY
S1 Register8-bitN
S2 Register8-bitN
F Register16-bitY
S3 Register16-bitN
Register Descriptions

Schematics

GPR Control Truth Table

Description[C0..C6] (RD_WR)C7Opcode
Reset / Load ALl0000_00000x0
Load C0000_00110x81
Load D0000_01010x82
Load S10000_01110x83
Load S20000_10010x84
Load F0000_10110x85
Load S30000_11010x86
Assert C0001_00010x88
Assert D0010_00010x90
Assert S10011_00010x98
Assert S20100_00010xa0
Assert S1S20101_00010xa8
Assert F0110_00010xb0
Assert S30111_00010xb8
Assert S3L1000_00010xc0
Assert S3H1001_00010xc8
MOV C, D0010_00110x91
MOV C, S10011_00110X99
MOV C, S20100_00110xa1
MOV C, S3L1000_00110xc1
MOV C, S3H1001_00110xc9
MOV D, C0001_01010x8a
MOV D, S10011_01010x9a
MOV D, S20100_01010xa2
MOV D, S3L1000_01010xc2
MOV D, S3H1001_01010xca
MOV S1, C0001_01110x8b
MOV S1, D0010_01110x9a
MOV S1, S20100_01110x93
MOV S1, S3L1000_01110xc3
MOV S1, S3H1001_01110xcb
MOV S2, C0001_10010x8c
MOV S2, D0010_10010x94
MOV S2, S10011_10010x9c
MOV S2, S3L1000_10010xc4
MOV S2, S3H1001_10010xcc
MOV F, S301111_10110xbd
MOV F, S1S20101_10110xad
MOV S3, F0110_11010xb6
MOV S3, S1S20101_11010xae