Home Community

What's the difference between 8 & 32
Welcome, Guest. Please login or register.
April 19, 2014, 02:08:07 AM
Home Help Search Calendar Login Register
News: trade your components on this new board: "Components trade"

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google

+  Electronics-Lab.com Community
|-+  Electronics Forums
| |-+  Microelectronics (Moderators: prateeksikka, Herman the German)
| | |-+  What's the difference between 8 & 32
« previous next »
Pages: [1] Print
Author Topic: What's the difference between 8 & 32  (Read 1709 times)
xenobie
Newbie
*
Posts: 13


View Profile
« on: January 08, 2013, 05:06:54 PM »

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  Cool

Thanks all!
Logged

william_teter
Newbie
*
Posts: 5


View Profile
« Reply #1 on: February 16, 2013, 01:41:03 AM »

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.



Logged

Pages: [1] Print 
« previous next »
Jump to:  

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!

 

 

Search Site | Advertising | Contact Us
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits