Question: 2 . 1 2 [ 5 ] < $$ 2 . 2 , 2 . 5 > Provide the instruction type and assembly language instruction
$$ Provide the instruction type and assembly language instruction for the following binary value:
Hint: Figure may be helpful.
$$ Provide the instruction type and hexadecimal representation of the following instruction:
sd
FIGURE A translation hierarchy for C
A highlevel language program is first compiled into an assembly language program and then assembled into an object module in machine language. The linker combines multiple modules with library routines to resolve all references. The loader then places the machine code into the proper memory locations for execution by the processor. To speed up the translation process, some steps are skipped or combined. Some compilers produce object modules directly, and some systems use linking loaders that perform the last two steps. To identify the type of file, UNIX follows a suffix convention for files: source files are named assembly files are object files are named @ statically linked library routines are dynamically linked library routes are
xso and executable files by default are called aout. MSDOS uses the suffixes CASM, OBJ, LIB, DLL and EXE to the same effect.
Compiler
The compiler transforms the program into an assembly language program, a symbolic form of what the machine understands. Highlevel language programs take many fewer lines of code than assembly language, so programmer productivity is much higher.
In many operating systems and assemblers were written in assembly language because memories were small and compilers were inefficient. The millionfold increase in memory capacity per single DRAM chip has reduced program size concerns, and optimizing compilers today can produce assembly language programs nearly as well as an assembly language expert, and sometimes even better for large programs.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
