??? 05/24/07 04:36 Read: times |
#139713 - Accurate terminology Responding to: ???'s previous message |
Andy Neil said:
A Compiler is a thing that translates source code in a high-level language (eg, 'C', Pascal) into machine code - the process is known as "compiling" or "compilation"; NB: Some compilers translate high-level source to intermediate code, sometimes called pcode. An Assembler is a thing that translates assembly source code (a low-level language) into machine code - this process should not be called "compiling" or "compilation"; Compilers and assemblers are both language translators, and as such there is little to distinguish them. (From a theoretical point of view, there is nothing that distinguishes them.) Note that "Compiling" refers specifically to the processing done by a compiler - you do not "compile" assembler source files! The word compiler is frequently used to mean any language translator, so it is not incorrect to "compile" assembly source files. And while I'm being nitpicky, I'll point out that machine code is not executed by the CPU. Rather the binary machine code is interpreted by the CPU's Control Unit and ALU. Hence the binary code generated by the compiler/assembler is further translated at run-time into microcode which is then executed by the CPU. |
Topic | Author | Date |
Byte used as bit | 01/01/70 00:00 | |
which compiler? | 01/01/70 00:00 | |
Silabs IDE | 01/01/70 00:00 | |
and was this inline assembler in C-program? | 01/01/70 00:00 | |
No, not an assembler in C | 01/01/70 00:00 | |
SILabs IDE is NOT a compiler | 01/01/70 00:00 | |
I was just referring to the IDE used. | 01/01/70 00:00 | |
Terminology | 01/01/70 00:00 | |
Assuming The Keil C Compiler | 01/01/70 00:00 | |
No, that's wrong | 01/01/70 00:00 | |
So much for the manual | 01/01/70 00:00 | |
Yes, that's it! | 01/01/70 00:00 | |
assembler | 01/01/70 00:00 | |
assembling not compiling | 01/01/70 00:00 | |
MISC_FLAGS EQU 20h | 01/01/70 00:00 | |
re:MISC_FLAGS EQU 20h | 01/01/70 00:00 | |
Bytes as bits | 01/01/70 00:00 | |
stop expreimenting, read the manual | 01/01/70 00:00 | |
Or use Acc![]() | 01/01/70 00:00 | |
Accurate terminology | 01/01/70 00:00 | |
C51.exe | 01/01/70 00:00 | |
No and definitely not | 01/01/70 00:00 | |
Check Byte Address | 01/01/70 00:00 | |
i do not recall | 01/01/70 00:00 |