Aaron's Homepage Forum
Aaron's Homepage Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Electronics
 Other Circuits
 c language or assembly language

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File (GIF, JPG, JPEG, BMP, ZIP, PNG)

   

T O P I C    R E V I E W
abdulgtm Posted - Jun 13 2010 : 08:49:42 AM
Dear ,

I want to work on atmel series 89c51 controller , so would you help me to choose a language which is easy to understands , and benificial in future. note that shoud be easy to understnds on coding.

Abdulgtm
9   L A T E S T    R E P L I E S    (Newest First)
BEatonNo1 Posted - Jul 29 2010 : 10:42:07 PM
Learning Assembly is a good way to learn how the processor actually works and how C and other higher languages work which will make you more effective in the long run. However, you can find a C compiler for every processor out there, and in most cases firmware is developed using C.
codingplanet Posted - Jul 02 2010 : 5:40:56 PM
Edit: Oops, wrong platform lol
abdulgtm Posted - Jul 02 2010 : 03:16:26 AM
sir,
It mean you are giving me advise for c language as compare to assembly language , So please let me clear that I have to just understands c language or c++ language , and please also advise in c++ could I do micro controller programming.
Regards.
Abdulgtm
codingplanet Posted - Jun 14 2010 : 11:06:53 AM
I'm not sure if you can turn on a bit for 1 machine cycle, but if you couldn't, you could always add a little bit of asm into your C :D (Kinda defeating the purpose I suppose)
pebe Posted - Jun 13 2010 : 3:34:46 PM
By M/C I meant machine cycle. I understood that using Basic, there is a lower limit for a timing period, but if 'C' can do microsecond timers, then you have answered my question.
codingplanet Posted - Jun 13 2010 : 1:45:06 PM
I'm not sure what you mean by M/C, but I know you can do micro-second timers.
pebe Posted - Jun 13 2010 : 11:34:13 AM
I have only ever programmed in ASM. Can a program in C do all the things that can be done in ASM? I am thinking of things like turning on a bit for one M/C, or very short timers.
codingplanet Posted - Jun 13 2010 : 11:16:14 AM
I spent far more time learning ASM than I ever did developing with it. I use C to program PICs, it's extremely easy.
Aaron Cake Posted - Jun 13 2010 : 10:29:30 AM
http://www.atmel.com/dyn/resources/prod_documents/doc0265.pdf

Both languages will accomplish the same thing. C, however, will be far easier for you as it is a higher level language. But a program written directly in assembly will undoubtedly be smaller. Assembly is harder to understand and much less development is taking place in assembly these days.

Aaron's Homepage Forum © 1995-2020 AARONCAKE.NET Go To Top Of Page
This page was generated in 0.07 seconds. Snitz Forums 2000