[old] Hullo World
06-30-2010, 07:05 PM,
#8
RE: Hullo World
Thanks, everyone.

RichardGv, yep, I'm designing my own instruction set, plus writing a program to run the machine code (mostly to test whether the instruction set is sane), plus writing an assembler, plus either making a circuit in TkGate or programming a FPGA. I'm currently leaning towards the TkGate option, designing some basic peripherals seems easier than making the thing interact with real hardware (and besides, I doubt it'll be something that will be used in PCs).

To answer your questions one by one:
  1. CISC
  2. 32-bit data bus, address bus, and largest register (although still subject to change, it started out as 4-bit...)
  3. 32-bit words for pretty much everything.
  4. 8-bit opcode, can be expanded to 9-bit later (instruction has one free bit)
  5. Microcode control unit
  6. No cache planned for now.
  7. 128 addresses, half of them user addressable, about evenly split between 8-bit, 16-bit and 32-bit. Actually comes out as less, as many are parts of others (for example, 8-bit register B0 is the least significant byte in 32-bit register W0).

I have the feeling that by the time I finish this processor, I'll be horrified by how awful it is, and will remake large parts: most notably the registers and 32-bit multiplication (shifting instead of looped adding). On the other hand, things have been developing steadily, although I've had the feeling I couldn't possibly manage to do anything more in the time I have available: this is a school project, and is due in December.

I've got a Google Code page set up for this architecture, http://code.google.com/p/sevarch/, if you're interested. Once I've got an assembler and emulator/simulator (machine code interpreter) going, I'll write a C compiler and kernel for this thing.

I'm a Gentoo user as well, but have an LFS machine I play around with occasionally.


Messages In This Thread
[old] Hullo World - by Sevis - 06-30-2010, 03:06 AM
RE: Hullo World - by Zach - 06-30-2010, 03:11 AM
RE: Hullo World - by HiddenKnowledge - 06-30-2010, 03:15 AM
RE: Hullo World - by Mike - 06-30-2010, 07:53 AM
RE: Hullo World - by Lance - 06-30-2010, 09:59 AM
RE: Hullo World - by RichardGv - 06-30-2010, 10:41 AM
RE: Hullo World - by HiddenKnowledge - 06-30-2010, 07:15 PM
RE: Hullo World - by 903 - 06-30-2010, 01:48 PM
RE: Hullo World - by Sevis - 06-30-2010, 07:05 PM
RE: Hullo World - by RichardGv - 06-30-2010, 08:05 PM
RE: Hullo World - by HiddenKnowledge - 06-30-2010, 09:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Wink [old] Hello World! RaisenBran 3 1,508 09-03-2011, 02:06 AM
Last Post: pspboy
  [old] Hello world! gamingmaster42 1 936 08-03-2011, 09:31 AM
Last Post: Zach
  [old] Hello, World Tierney 8 2,430 04-07-2010, 07:03 AM
Last Post: Tierney

Forum Jump: