Jump to content
Electronics-Lab.com Community

What's the difference between 8 & 32


Recommended Posts

Hello all,

Ok so I have a project, I am not in a hurry to learn and the main purpose here is to learn. But I need to learn the right way. Basically my question is this...

  • What is the difference from an Atmel 8 bit uC to an Atmel 32 bit uC from the Programmers Perspective?
  • As in, what is the difference between a 'hello world for 8bit' and 'hello world for 32bit'?
  • What is the difference for a complex system written for 8bit and the same complex system written for 32bit?

I chose Atmel because this is what I have available and I don't really want to change. Also to save you time, do not explain stuff like, GPIOs, Frequencies, ADC, etc.. etc.. this is all in the datasheet  8)

Thanks all!
Link to comment
Share on other sites

  • 1 month later...

The number of bits refers to the size of the data pipe. C will probably hide this from you this, but if you are programming with assembly, you will find if you need to add a 32 bit number to another 32 bit number, you will need far fewer instructions to do so on the 32 bit uC vs the 8 unless it has a special instruction to accomplish this.

The address space will be smaller in an 8-bit uC.. but once again hardware can allow for bank switching and allow the 8bit uC to access just as much memory as a 32bit uC could. For just a simple hello world code written in c, you may not notice a difference... it's when you get into more complex applications that this can become a problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...