EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

8051 architecture

Started by Unknown July 11, 2006
Chris Hills wrote:
> > It's lunch time here.
I agree. ;-) Bodo
Bodo Rzany wrote:
> Chris Hills wrote: > > > > It's lunch time here. > > I agree. ;-) > > Bodo
I guess we can only be glad he wasn't attempting to read about a caching controller ;) Cheers PeteS
In article <1152617974.39707.0@demeter.uk.clara.net>, Tom Lucas
<news@REMOVEautoTOflameREPLY.clara.co.uk> writes
>"Chris Hills" <chris@phaedsys.org> wrote in message >news:i93qMbBtP4sEFAcv@phaedsys.demon.co.uk... >> In article <12b6kuc9ikdqa6d@corp.supernews.com>, Meindert Sprang >> <ms@NOJUNKcustomORSPAMware.nl> writes >>><eerobert@gmail.com> wrote in message >>>news:1152598467.894100.285310@m79g2000cwm.googlegroups.com... > >>>> Why 8051 need 2 clock cycle for 1 system state? ><snip> > >> Is it just me (and Grant Edwards) or are the questions getting worse >> and >> pointless? > >In this chap's defence then this is not too bad a question and the >answer doesn't readily present itself from the datasheet. Perhaps he has >come in from the PIC world where 4 clocks are used and is wondering how >the 8051 does it in 2.
You mean 1,2 ,4, 6 or 12 depending on the core used? (there are many 51 cores with different timing. If he is wondering then a little research is required. That or a better formed question.
>However, I think it more likely that he wants to know why two clocks are >required to do one instruction but this in itself is not too obvious if >you only know the processor as a black box that runs code. Granted, he >should have spent more time googling but using what search string if he >doesn't know about fetch-decode-execute and doesn't have great English?
Then he finds stuff in his local language or shock horror, asks some one else locally.
>I am also aware that after my mini-rant I still haven't given much help >to the OP but I don't know a lot about the 8051 and besides, it was a >pointless question ;-)
No it was not entirely pointless... however it is like asking why is DNA a twin helix. If your command of English is poor or the one line above is the total sum of your knowledge there is not wya you will understand the answer. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <12b73d9oq9ib592@corp.supernews.com>, Meindert Sprang
<ms@NOJUNKcustomORSPAMware.nl> writes
>"Bodo Rzany" <rzany@ibrro.de> wrote in message >news:ktdco3-394.ln1@ibrro.de... >> Chris Hills wrote: >> > >> > SO either these people cant read the manuals or can't be bothered. In >> > either case I think their Internet access should be stopped. >> >> Oh, yes. And they should be arrested in Guantanamo... >> >> Why do you talk to those guys? The problem solves itself if you >> and Meindert Sprang (and others) just keep quiet. > >Because it makes for a fun break after a few hours of embedded programming, >problem solving and reading datasheets :-) > >Meindert
You READ data sheets? You Program? For Real? Wow! What is an MCU how is it different to a CPU in 2000 words by tomorrow please as my homework is late. :-) I agree with Meindert it is a little light humour after a stint of heavy stuff. There are several FAQ's that tell people how to post questions including for homework. the problem is they just barge straight in without any thought or even a hint of netiquete. Bloody kids.... Damn! I am turning into my parents :-) -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <1152598467.894100.285310@m79g2000cwm.googlegroups.com>,
eerobert@gmail.com writes
>Why 8051 need 2 clock cycle for 1 system state? >
http://www.phaedsys.demon.co.uk/chris/index.htm try the 80651 button and the QuEST button -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On 2006-07-11, Chris Hills <chris@phaedsys.org> wrote:

>>> Why 8051 need 2 clock cycle for 1 system state?
2? I thought it was more like 4 clocks per "phase" and 3 phases per instruction (or something like that).
>>Because it is designed that way. > > Is it just me (and Grant Edwards) or are the questions getting > worse and pointless?
:) -- Grant Edwards grante Yow! Mr and Mrs PED, can at I borrow 26.7 visi.com
On 2006-07-11, FreeRTOS.org Info <nospam@thanks.com> wrote:
>> Is it just me (and Grant Edwards) or are the questions getting worse and >> pointless? > > This is one of my favourites: > http://groups.google.com/group/comp.sys.arm/browse_thread/thread/4701d6dcd304883e/ba36ebb0b880cdf9?q=at91sam7s64&rnum=1#ba36ebb0b880cdf9
Yup, a classic example of now-frequent "I know absolutely nothing, and I'm too f**cking stupid/lazy to learn anything, so send me code and tell me the exact procedure for doing my project". There are apparently people trying to do embedded systems design who's backgroudn in CS/EE consists entirely of running Internet Explorer and some IM client or other. -- Grant Edwards grante Yow! HUGH BEAUMONT died at in 1982!! visi.com
On 2006-07-11, Chris Hills <chris@phaedsys.org> wrote:
> In article <ktdco3-394.ln1@ibrro.de>, Bodo Rzany <rzany@ibrro.de> writes >>Chris Hills wrote: >>> >>> SO either these people cant read the manuals or can't be bothered. In >>> either case I think their Internet access should be stopped. >> >>Oh, yes. And they should be arrested in Guantanamo... > > Oh yes the place they put people they have abducted from another country > and hold without any charges flouting the Geneva Convention, UN > conventions and US laws.
It's OK. "W" signed something that said so. :( -- Grant Edwards grante Yow! I have a very good at DENTAL PLAN. Thank you. visi.com
"Chris Hills" <chris@phaedsys.org> wrote in message 
news:OP3BAbCuT6sEFA60@phaedsys.demon.co.uk...
> In article <1152617974.39707.0@demeter.uk.clara.net>, Tom Lucas > <news@REMOVEautoTOflameREPLY.clara.co.uk> writes >>"Chris Hills" <chris@phaedsys.org> wrote in message >>news:i93qMbBtP4sEFAcv@phaedsys.demon.co.uk... >>> In article <12b6kuc9ikdqa6d@corp.supernews.com>, Meindert Sprang >>> <ms@NOJUNKcustomORSPAMware.nl> writes >>>><eerobert@gmail.com> wrote in message >>>>news:1152598467.894100.285310@m79g2000cwm.googlegroups.com... >> >>>>> Why 8051 need 2 clock cycle for 1 system state? >><snip> >> >>However, I think it more likely that he wants to know why two clocks >>are >>required to do one instruction but this in itself is not too obvious >>if >>you only know the processor as a black box that runs code. Granted, he >>should have spent more time googling but using what search string if >>he >>doesn't know about fetch-decode-execute and doesn't have great >>English? > > Then he finds stuff in his local language or shock horror, asks some > one > else locally.
Perhaps he has noone to ask. When I first started out in industry then I knew my tutors in uni and the engineers I worked with and that was it. It takes time to build a network. There may also not be anything in his own language and there is always much more English information available anyway.
>>I am also aware that after my mini-rant I still haven't given much >>help >>to the OP but I don't know a lot about the 8051 and besides, it was a >>pointless question ;-) > > No it was not entirely pointless... however it is like asking why is > DNA > a twin helix. If your command of English is poor or the one line above > is the total sum of your knowledge there is not wya you will > understand > the answer.
I think that it a bit insulting toward the OP - he may be able to work with the answer and get a good translation. My French is pretty rudimentary but given a French text, a dictionary and a healthy dose of Google then I think I could work it out. I'd discussed in other threads how intimidating this group is for first time posters and IMHO the OP had a legitimate question which other people, myself included, would have been interested to see the answer to. All he's received is abuse and he'll go away none the wiser. I had a bit of a google to see if I could find the answer and there were plenty of hits discussing the clocks/cycle requirements of the 8051 but nothing saying why it was the case. It sounds like the sort of question that needs a experienced 8051 veteran to answer and where better to ask the question than here?
Chris Hills wrote:

> In article <12b6kuc9ikdqa6d@corp.supernews.com>, Meindert Sprang > <ms@NOJUNKcustomORSPAMware.nl> writes >><eerobert@gmail.com> wrote in message >>news:1152598467.894100.285310@m79g2000cwm.googlegroups.com... >>> Why 8051 need 2 clock cycle for 1 system state? >> >>Because it is designed that way. >> >>Meindert >> > > > Is it just me (and Grant Edwards) or are the questions getting worse and > pointless? > > There is another post asking how to do something that is clearly > explained in the manuals... > > The manuals are electronic and part of the compiler IDE package. Even > the eval and pirated versions have them! > > SO either these people cant read the manuals or can't be bothered. In > either case I think their Internet access should be stopped. >
I agree. The simplest thing is to just ignore them. Ian

The 2024 Embedded Online Conference