write a case study on compiler, assembler,interpreter in detail
Answers
Explanation:
A compiler convert all source code into machine code ,creating an executable file . The content of this executable file is called object code . the programmer can copy the executable object code into any similar system and run the program an interpreter also converts source code to machine code instead of creating and executable code file however the interpreter simply executes each bite of machine code as it is converted.
the interpreter code runs slower than compiled cords because the code must be interpreted each time it is run and a copy of the interpreter must accompany the code everywhere it goes.
assembler is a program that translate assembly language into machine language and vice versa unlike interpreter and compiler that translate high level language into machine language assembler converts mnemonic codes into binary ones