Test Computer
0 Stars     150 Views    

Author: Sanderokian Stfetoneri

Forked from: Sanderokian Stfetoneri/Test Computer

Project access type: Public


A Computer. Kind of.

The 256-Series, my new collection of simulated computers: https://circuitverse.org/users/4699/projects/256-series

Note: It is causes lag, particularly the 14-Bit Instruction Memory.


32-Bits of 5-bit RAM,

32-Bits of 12-bit instruction RAM (able to write 32 instructions in a program),

ADD, AND and XOR Functions.

The Run button is near the Clock on the left of main, the Output is on the far right.

OP Codes:

0000 = Nothing

0001 VVVVV AAAAA = LOAD VVVVV into address AAAAA

0010 AAAAA 00000 = LOAD Add result into address AAAAA

0011 DDDDD VVVVV = ADD DDDDD and VVVVV together

0100 AAAAA BBBBB = ADD address AAAAA and address BBBBB together

0101 DDDDD VVVVV = AND DDDDD and VVVVV together

0110 AAAAA BBBBB = AND address AAAAA and address BBBBB together

0111 DDDDD VVVVV = XOR DDDDD and VVVVV together

1000 AAAAA BBBBB = XOR address AAAAA and BBBBB together

1001 AAAAA 00000 = LOAD AND result into address AAAAA

1010 AAAAA 00000 = LOAD XOR result into address AAAAA

1011 AAAAA 00000 = GOTO address AAAAA (in instruction memory) 

1100 AAAAA BBBBB = If add result = 0 (ignoring carry), GOTO address AAAAA else go to address BBBBB (in instruction memory)

1101 VVVVV 00000 = Return VVVVV (Stops the program)

1110 AAAAA 00000 = Return the value at address AAAAA (Stops the program)

1111 = Nothing

Created: Apr 03, 2019

Updated: Aug 18, 2021

Copied to Clipboard!


You must login before you can post a comment.