Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M16C #31

Open
larsbrinkhoff opened this issue Oct 4, 2017 · 3 comments
Open

M16C #31

larsbrinkhoff opened this issue Oct 4, 2017 · 3 comments
Labels

Comments

@larsbrinkhoff
Copy link
Owner

If this becomes a thing, here is some information. Including a blink test program:
http://www.fischl.de/thomas/elektronik/r8c/

@larsbrinkhoff
Copy link
Owner Author

larsbrinkhoff commented Oct 5, 2017

I'm not sure how these all relate to each other:

  • R8C: 16-bit, smaller version of M16C
  • M16C: 16-bit, CISC
  • M32C
  • R32C
  • M32R: 32-bit, RISC

@larsbrinkhoff larsbrinkhoff changed the title R16C M16C Oct 5, 2017
@TG9541
Copy link

TG9541 commented Oct 5, 2017

According to German Wikipedia articles they all share the same instruction set, registers, etc. The R8C has 8bit internal data paths (8088 style) but is functionally identical. M32C seems to be a 16bit controller with more features than the M16C.

@larsbrinkhoff
Copy link
Owner Author

Thanks. Wikipedia says that the C parts are CISC designs, and the M32R is RISC.

I had to check the manuals to find more details. Indeed the M16C looks CISCy, with four data registers, two address registers, and instructions being one or two bytes. The M32R has sixteen general-purpose registers (well, including link register and stack pointer), and instructions are 16 or 32 bits.

M32C looks much like M16C like you said. Some instructions can be tree bytes. R32C expands registers to 32 bits and doubles the number of address registers. Instructions can be one to fourteen (!) bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants