Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What's the difference between a 4-bit,8-bit, 16-bit, 32-bit, 64-bit microcontroller?

Status
Not open for further replies.

helio1972

Member level 5
Joined
Oct 30, 2003
Messages
91
Helped
14
Reputation
28
Reaction score
8
Trophy points
1,288
Activity points
861
Hi,
I am new boy in Microcontrollers area, and I Wanna know what's the difference between a Microcntroller 4-bit,8-bit, 16-bit, 32-bit, and 64-bit.
 

Re: 8-bit, 16-bit and so

That refers to the number of bits it can process at a time.
An 8-bit micro for example, works with 8-bit quantities. That is, most operations (addition, subtraction, AND, OR, etc.) are performed on 8-bit numbers. Most registers are then 8 bits wide. To perform operations on larger numbers, requiring 16, or 32 bits, for example, you need to write code to handle that on a byte-by-byte basis. That involves additional instructions, to handle each byte, plus instructions to deal with eventual carry, overflow, etc.
It's like you adding two numbers, in decimal. 5+4=9. That is easy. But if you need to add 65+54, then you first add 5+4=9, check if anything carries over, if not, then you add 6+5, and 1 carries over. You then write the result remembering the order of the digits in the result, which is also important. That operation was now much more complicated, wasn't it? If the numbers are even larger, you need even more additions and checks.
So you can see that the larger the number of bits a micro can handle at a time, the faster it will be, since you can handle large numbers in just one instruction, without any additional software overhead.
 
8-bit, 16-bit and so

**broken link removed**

refer this link .it has all you want to learn about microcontrollers bits and so.and if then also u dont understand refer "parallel port complete" by jan axelson .
 

8-bit, 16-bit and so

number of bits of mcu's registers
 

Re: 8-bit, 16-bit and so

Hi,

Thanks à lot for your help.
 

Re: 8-bit, 16-bit and so

hi helio,
frends who answered to this ques prev forgot one imp diff .. the 8 bit n 16 bit
microcontroller differs in the width of data bus hence the no here also says abt the width of databus..
if you are going to lay u r hands on microcontroller be choosy as if you selact 8 bit pic instead of 16 bit ..code bcoms cubersome..
bye
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top