Translators and Interpretors
No description yet. This curated deck is ready for daily study.
Card preview (4)
What is a compiler?
• Translate HLL/source code into machine code • Will attempt to translate source code into machine code all at once • If it succeeds, it will create object code or if it fails, generate an error report without running lines of code
What is a Interpreter?
• Translates HLL/source code into machine code • It will translate and execute one line at a time • If error is found, the program will stop and only continue once all errors have been resolved • No object code is produced
What is an Assembler?
• Converts assembly code into machine code • Similar to compiler, it will attempt to translate the whole program all at once • If it succeeds, it will create object code, if it fails, it will generate an error report without running any lines of codes
Assembly language uses a set of _________ to represent each opcode
mnemonics