comment
Language processor consist of two phases 1.Analysis phase 2.Synthesis phase Language processor pass is the processing of every statement in a source program, or its equivalent representation to preform language processing function pass 1-It analyses the source program and notes relevant information. pass 2- It synthesizes the target program
A software tool called a "compiler" translates C programs into the underlying machine language for the system you are using. The C program is called "source code" and the compiled program is called "object code". If you compile a program that will run on a completely different type of system, then it's called "cross compiling." Cross compiling requires a special compiler. For example, when you compile an application for the iPhone, you're compiling it on an computer that uses an Intel processor, but the actual program will run on an ARM based processor.
The processor is the machine's CPU (central processing unit). It has nothing to do with the C language itself -- at best it is an implementation detail (the compiler can take advantage of the CPU's specific features to optimise code). In terms of programming, the processor is a concept. All non-trivial programs have at least four major components: input, processing, output. The bulk of the work is carried out by the processor. However, even the individual functions of a program can also be broken down into similar components: preconditions, processing and postconditions.
Manual coding of 8086 is difficult hence we use a assembler or a compiler. Note that the microprocessor should be able to interpret your discussions via the program. Suppose if the instruction corresponds to word(16 bits), we use assembler directive WORD PTR, but when assembler is contacting the processor it sets a bit called 'w' indicating its a byte operation.
the program written in high level language is called "source program"
comment
User comments are ignored by the language, period. A comment may contain program logic but because all comments are ignored, all logic contained within them is also ignored. Comments are intended specifically for (human) readers, not the language processor.
Language processor consist of two phases 1.Analysis phase 2.Synthesis phase Language processor pass is the processing of every statement in a source program, or its equivalent representation to preform language processing function pass 1-It analyses the source program and notes relevant information. pass 2- It synthesizes the target program
Program counter is a processor register that indicates where a computer is in its program sequence. It contains the address of the memory location.
A compiler is actually a program. However the function of a compiler it to take a programmers high level language code and render this as binary machine language instructions that a specific processor can execute.
It's easier to write low-level code using a high-level language.
false
Unless your particular C implementation allows for direct writing of assembly code, you can't. C is a high-level language and you usually cannot directly issue instructions to the processor. The assembly languages are a set of architecture-specific commands that can be directly executed by a processor.
Ultimately, the processor that is used in any robotic device must execute the binary instructions that correspond with that processor. But processors are often programmed using a high level language such as C++ or Java, then the programmer runs the code through either a compiler or interpreter to convert the program into binary. Often the manufacturers of a processor may have provided several high level languages that work with a specific processor, giving the programmer options as to which language might best serve his/her needs. The binary instructions and the higher level programming language are often referred to as a language for processors, whether in robots or other automation devices.
No it is a program, an application.
A shell program is called a command processor because it has to process commands according to what the user wishes to do. Along with executing commands as specified by the user it also has its own programming language and can be instructed to do things programmatically.
A word processor is a type of software. It is a program that is run on your computer.