You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

8/16/32 or 64 bit?

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

0
b/Hardware publicado por u/Keoni29 December 10, 2014, 11:39:16 PM
What is your favorite word size / bus width / cpu type?
I personally like 8 bit for its simplicity. I also like 64 bit because it's really fast.
Inicia sesión o crea una cuenta para dejar un comentario
u/Dream of Omnimaga December 10, 2014, 11:44:37 PM
I like 64 bits because it seems to run most of my programs, but I like 8 bit because it's simple. However, I would probably need to try ASM on various CPU types to really judge what is more convenient to develop on.
u/Keoni29 December 10, 2014, 11:53:02 PM
I never wrote software in asm for 16 bit systems. I should get one of those 16 bit PIC microcontrollers and mess around with it.
u/Dream of Omnimaga December 11, 2014, 12:01:43 AM
You could get a TI-80 calculator and flash the ROM chip :trollface: . IIRC it uses some proprietary 16-bit CPU from TI that TI-Planet documented once. It's 980 kilohertz, though.
u/novenary December 11, 2014, 12:02:27 AM
Well technically you could make a 64bit cpu that's as simple as the z80. :P It's just that modern ISAs are much more evolved to fulfill modern needs.
u/Duke "Tape" Eiyeron December 11, 2014, 04:58:58 PM
32 bits because SuperH (and because setting up 32 bit game on a 64bit system can be a PITA sometimes)
u/Hooloowalrus December 11, 2014, 05:02:54 PM
I like 8 bits for it's small size and easy programmability for things like a calculator, but I like higher bit counts (32 and 64) for a computer which I use to do things. 64 bit has the advantage of lotsa memory, but who needs that :P
u/Dream of Omnimaga December 12, 2014, 08:27:45 AM
By the way, is it true that a 8 bit processor is really not suited for a language like C, to the point where it will be even slower and larger than compiled Axe Parser code in comparison?
u/Keoni29 December 12, 2014, 08:47:37 AM
Modern microcontrollers can be programmed in C just fine. I programmed AVR's in C. Ofc assembly can be more optimized.
u/novenary December 12, 2014, 11:02:48 PM
Quote from: Hooloowalrus on December 11, 2014, 05:02:54 PM
I like 8 bits for it's small size and easy programmability for things like a calculator, but I like higher bit counts (32 and 64) for a computer which I use to do things. 64 bit has the advantage of lotsa memory, but who needs that :P
Hard drive users who want a responsive system. :P

Also at the C thing, it's just that 1) the z80 was made to be programmed only in asm and 2) no compiler actually tries to optimize a lot so the code is around the speed and size of the older versions of Axe. As Keoni said, AVR's and PIC's can be programmed in C perfectly fine.
u/Duke "Tape" Eiyeron December 13, 2014, 07:23:40 AM
Quote from: StreetquoteAlso at the C thing, it's just that 1) the z80 was made to be programmed only in asm and 2) no compiler actually tries to optimize a lot so the code is around the speed and size of the older versions of Axe. As Keoni said, AVR's and PIC's can be programmed in C perfectly fine.

I just got the reason HBE won't be done in C for TI. Thanks.
u/novenary December 13, 2014, 11:43:05 AM
Welp, SirCmpwn is forking sdcc for KnightOS so there might be some improvements on optimization. :) Remember, the z80 was designed in the 80's when c didn't even exist. :P
u/Dream of Omnimaga December 13, 2014, 12:09:18 PM
Ah that's cool then. Hopefully this also makes it easier to make cross-OS programs that way too.
Start a Discussion

b/Hardware

Building a robot, some old-school handheld or other piece of hardware? This is the section to showcase it.

56
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal