Login Register






Some 8-bit stuff filter_list
Author
Message
Some 8-bit stuff #1
So, I've been collecting electronics components for the last month so that I could design and physically build myself a small CPU. I finally figured out an instruction set I want, and got to work today on the ALU. The instruction set is as follows:

Code:
Registers: R0-R9 R7 is stack pointer R8 is link register R9 is program counter ALU ops (reg-reg): ADD SUB NEG INV LSH RSH AND ORR XOR MOV (also accepts constant) CMP (also accepts constant) mem: LDR STR PSH POP other (either constant or register): BRA JMP INP (register only) OUT

And, just because it looks pretty, here's a graphic of the schematic for the ALU instructions:

[Image: Cc1SmWi.jpg]


Let me know what you guys think. So far, the bill of materials is just under $30. When finished, this might be a fun project for those of you that want to learn this stuff (ill release my schematics if people are interested)

Reply

RE: Some 8-bit stuff #2
Holy shit that's cool. Quite an ambitious project i'd have to say. Keep us updated!

Reply

RE: Some 8-bit stuff #3
That's a nice project, I might give it a try.
Good job and thanks for sharing.
[Image: iQDVDdD.gif]

Reply

RE: Some 8-bit stuff #4
That is awesome dude, the schematics would indeed be cool Tongue

Reply

RE: Some 8-bit stuff #5
(10-01-2018, 04:22 AM)Cr3aTor Wrote: That's a nice project, I might give it a try.
Good job and thanks for sharing.

I encourage you to do so. The difficulty with something like this isn't the design, it's the optimization. With a basic understanding of digital logic you can build your own without issue.

Reply

RE: Some 8-bit stuff #6
(10-01-2018, 03:10 PM)phyrrus9 Wrote:
(10-01-2018, 04:22 AM)Cr3aTor Wrote: That's a nice project, I might give it a try.
Good job and thanks for sharing.

I encourage you to do so. The difficulty with something like this isn't the design, it's the optimization. With a basic understanding of digital logic you can build your own without issue.

I'm actually thinking of a series based on my journey into electronics and this project would most probably be part of it.
[Image: iQDVDdD.gif]

Reply

RE: Some 8-bit stuff #7
I'd like to see more posts about this project. It will be an interesting read. I already forgot my computer architectures class and it will be interesting for me if you show how you designed this from the start. Biggrin
[Image: dHJ4Beo.gif]
Hidden Lesson: Reactions are always instinctive whereas responses are always well thought of.

Reply

RE: Some 8-bit stuff #8
Looks pretty sexy my dude, I'll brush up on 8bit shit soon and I'll give this a shot with you!
You can find me on Keybase
"Reach the state of ubiquity, and you will be in control"
Student, Technician, Designer, and more.
[Image: YUpAMpx.png]

Reply

RE: Some 8-bit stuff #9
(10-02-2018, 05:27 AM)zorrophreak Wrote: Looks pretty sexy my dude, I'll brush up on 8bit shit soon and I'll give this a shot with you!

I expect to see some decoder logic soon. You're looking at a completed ALU!

Reply

RE: Some 8-bit stuff #10
An update for you guys. I decided to run a test and see how difficult it would be to do it using surface mount components and printed circuit boards. Here's the drawings from that: I drew up the ALU/XOR circuit

Schematic:
[Image: d27PO9E.png]

Gerber, all layers
[Image: npPdgSp.png]

Mock up (top side)
[Image: VXhhfSB.png]

Mock up (bottom side)
[Image: uV4SUeR.png]

Reply