Unit 3: Embedded Firmware & Hardware Design and Development
Unit 3: Embedded Firmware & Hardware Design and Development
▪ Opcode tells what to do and Operand gives the information to do the task
▪ The operand may be single operand, dual operand or more
▪ MOV A, #30
▪ Here MOV A is the opcode and 30 is Operand
▪ Same instruction in machine language like this 01110100 00011110
High Level Language Based Development
▪ Any High-level language with a supported cross compilers for the target processor can be
used for embedded firmware development
▪ Cross Compilers are used for converting the application development in high level language
into target processor specific assembly code
▪ Most used language is C
▪ C is well defined easy to use high level language with extensive cross platform development
tool support
▪ The program written in any of the high-level language is saved with the corresponding
language extension
▪ Any text editor provided by IDE tool supporting the high-level language in use can be used
for writing the program For more visit www.ktunotes.in
▪ Most of the high-level language support modular programming approach and hence you can
have multiple source files called modules written in corresponding high-level language
Embedded C
▪ It is a ‘mid-level’, with ‘high-level’ features (such as support for functions and modules), and
‘low-level’ features (such as good access to hardware via pointers)
▪ C is the most common Embedded language, 85% of embedded applications are coded in C.
▪ C , when used correctly is as safe and robust as any other high-level language.
▪ It directly manipulates the hardware and memory addresses.
▪ It is very efficient; It is popular and well understood
▪ Good, well proven compilers are available for every embedded processor(8-bit to 32-bit or
more)
▪ Cx51 Cross compiler supports all the ANSI Standard C directives.