The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: ozzy_85 on May 01, 2006, 05:16:37 AM

Title: programming in embedded system
Post by: ozzy_85 on May 01, 2006, 05:16:37 AM
what languages are used to program embedded system??? assembly,c??  is J2ME used?

thnx in advance... :P
Title: Re: programming in embedded system
Post by: Ossa on May 01, 2006, 06:38:29 PM
The language is not really important - if it's popular or the chip is made by a large company, it's bound to come with an assembler (obviously that can deal with the correct opcode types) and a C/C++ compiler. But for more popular systems, there will be additional compilers and interpreters so that things can be written in other languages. With some of the newer processors from ARM, this is becoming even more broad. Their chips that have Jazelle will run Java bytecode at the machine level, making Java even more useful.

So, take your pick, it's really up to you,
Ossa
Title: Re: programming in embedded system
Post by: Dinosaur on May 06, 2006, 12:31:12 AM
I have investigated embedded cpu boards for months to try and select one for my use.
The only ones I keep clear of are the "C" controllers.
They can only be programmed in C and need their special compilers and libraries.
Your code is not portable to other controllers if you want to change.

There are a number that can be programmed in any language you like.

Regards
Title: Re: programming in embedded system
Post by: Dinosaur on May 06, 2006, 02:56:01 AM
Quote
All microcontrollers natively run a version of proprietary assembly language

Are you saying "ALL" need a proprietary assembler or compiler.

That's not my experience.
DIMM-PC is one example
Mity-Soc by ICOP is another example.

Unless we are going to debate what an embedded controller is.
Title: Re: programming in embedded system
Post by: Ossa on May 06, 2006, 06:15:49 AM
Quote from: Mark Jones on May 06, 2006, 12:41:20 AM
Except maybe some possibly natively run Java, but I have not seen anything like that yet.

http://www.arm.com/products/esd/jazelle_home.html

Ossa