Professional Documents
Culture Documents
Chap1 Program Translation
Chap1 Program Translation
Chap1 Program Translation
Program Execution
Translation:
The entire high level program is translated into an
equivalent machine language program. Then the
machine language program is executed.
Micro architecture
• detailed organization of a processor implementation
• different implementations of a single ISA
Logic Circuits
• combine basic operations to realize micro
architecture
• many different ways to implement a single function
(e.g., addition)
Devices
• properties of materials, manufacturability
Structure and Function of a
COMPUTER SYSTEM
• Processor-memory
• Processor-I/O
• Data Processing
• Control
• The processor contains a single data register,
called an accumulator (AC)
• Both instructions and data are 16 bits long.
Thus, it is convenient to organize memory using
16-bit words.
• The instruction format provides 4 bits for the
opcode, so that there can be as many as
2power 4= 16 different opcodes, and
• up to 2power12 = 4096 (4K) words of memory
can be directly addressed.
Example of Program Execution (contents of memory and
registers in hexadecimal)