Forums - Open Redstone Engineers

Full Version: The Minegisim CPU Chi_40
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am building a CPU in Logisim to see if it will work then in minecraft. The ALU is done in both. i also have the instruction set done. Also the PC is done in both.
I have the CPU started in Logisim but not minecraft I am going to build it all in Logisim then Minecraft.
Would you be okay to post the instruction set here? Im very interested :3
Okay it may be a bit confusing to some because before you can even do a coditional jump you need to load A and B
The IS a = address d = data
Code:
0000 0000 0000 Halt
0001 aaaa dddd Store
0010 aaaa 0000 Load A
0011 aaaa 0000 Load B
0100 dd00 0000 Invert Toggle 01 = A 10 = B
0101 0000 aaaa Add
0110 0000 aaaa Subtract
0111 0000 aaaa And
1000 0000 aaaa Or
1001 0000 aaaa Xor
1010 d000 0000 Shift Output 0 = left 1 = right
1011 aaaa d000 Jump 1--- = conditional uses a and b in ALU  the next 3 bits are greater then,equal to,less then.
1100 aaaa 0000 AXU out outputs a Value in Program mem to AXU port
1101 aaaa 0000 AXU in inputs the data from AXU port to program mem
1110 aaaa 0000 AXU out outputs a data value from Ram to the AXU port
1111 aaaa 0000 AXU in inputs a data value from AXU to RAM
I have rebuilt the ALU in Logisim to be exactly like the Minecraft version in that way it works.
Update i have the GPRs ready in logism and the super program memory storage designed for minecarft.