Unit 7 OS Flashcards
1
Q
What can each type of code be used as
A
Machine Code : directly executable by a processor
Assembly Code: directly convertible to machine code
Low-Level Code: minimal abstraction for the processor
High-Level Code: Complete abstraction of the processor
2
Q
What is opcode
A
Operation Code
Also known as instruction machine code which is the portion of a machine language instruction that specifies the operation to be performed
3
Q
What is a bootstrap compiler
A
- Written in the language it is intended to compile
- Minimal compiler is used to create the full compiler
- C does this
4
Q
What is a cross-compiler
A
- Compiler that produces native code for a different platform
- E.g Visual studio for PC can cross-compile ARM64 object code