Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

8-bit microcontroller.

Status
Not open for further replies.

cwjcwjcwj

Full Member level 5
Joined
Nov 8, 2004
Messages
273
Helped
17
Reputation
34
Reaction score
12
Trophy points
1,298
Activity points
1,716
8 bit microcontroller means

I am a beginner in this field. Could anyone tell me what is '8-bit' means? Is that mean the microcontroller can handle 8-bit in a second?
 

arthur0

Full Member level 2
Joined
Nov 28, 2003
Messages
131
Helped
49
Reputation
98
Reaction score
36
Trophy points
1,308
Location
Stockholm, Sweden
Activity points
1,218
8 bit means

cwjcwjcwj said:
I am a beginner in this field. Could anyone tell me what is '8-bit' means? Is that mean the microcontroller can handle 8-bit in a second?
No. It means that it can handle (access and operate on) an 8-bit data at a time.
It follows that the internal data bus, the ALU (arithmetic logic unit), internal registers and memory are all 8-bit wide.
Now there are rare exceptions from the above, but this is what the “original” meaning of N-bit was.

Arthur
 

cwjcwjcwj

Full Member level 5
Joined
Nov 8, 2004
Messages
273
Helped
17
Reputation
34
Reaction score
12
Trophy points
1,298
Activity points
1,716
8 bit microcontroller means

If i want to write my code in fixed-point format, does it mean i have to use Q8,Q0.8,Q7.1 or etc?
 

arthur0

Full Member level 2
Joined
Nov 28, 2003
Messages
131
Helped
49
Reputation
98
Reaction score
36
Trophy points
1,308
Location
Stockholm, Sweden
Activity points
1,218
cwjcwjcwj said:
If i want to write my code in fixed-point format, does it mean i have to use Q8,Q0.8,Q7.1 or etc?
I don’t know what do you mean by "use Q8,Q0.8,Q7.1 or etc".
But whenever talking about writing code (regardless of what), you’ll need to first specify how (language and compiler) and where (chosen HW platform, uC, uP etc.).

When choosing a higher-level programming language, you don’t usually care about internal bus width and stuff like that. You just do your thing and the compiler takes care of the underlying HW details. You can even write floating point expressions and the good compiler will invoke the proper libraries that emulate a floating-point hardware without your noticing (except maybe for the increase in program size and execution time).

If this is not the answer you expected, rephrase your question a little, use more words and specify the how and where above so we can have a chance at it.

Arthur
 

SatyajitC

Newbie level 4
Joined
Jan 1, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
8 bit microcontroller means CPU or ALU can process 8 bit data at a time. Means it has to take 8 bit data from memory (which it has to process). Thus each location in memory is 8 bit and data bus is also 8 bit. Registers in RAM has to be 8 bit for temporary storage of results.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top