Computer Systems Flashcards
What is a translator?
It translates from one language to another.
What are the three types of translators?
Compiler, Interpreter, Assembler
What is the purpose of the CPU?
Processes instructions that drive the computer.
What is Von Neumann architecture?
The program and data are both stored in the same memory. This allows instructions to be fetched and executed sequentially.
What are the main components of the CPU?
ALU (arithmetic logic unit)
Clock
Control Unit
Bus
Registers
What is the purpose of the ALU?
Performs arithmetic and logic operations, and shifts bits in a computer word.
What is the purpose of the clock?
The clock controls the timings of the processor, and switches between 0 and 1 several million times a second.
This is measured in hertz Hz.
What are registers?
Registers are very high speed memory locations in the CPU. An 8-bit CPU will have registers that are each 8-bit.
What is hardware?
The physical components that make up a computer.
What is software?
The non-physical programs that are stored by and run on a computer.
What is system software?
Software that provides a platform for other software to run.
What is machine code?
Code written in binary to execute an instruction.
What is assembly code?
Assembly code allows a programmer to write programs more easily.
LDA 51
ADD #FF
Can a machine or assembly code written on a Mac be run on a Windows computer?
No - the low level languages are processor specific.
What is assembly language used for?
Embedded systems
Controls precisely any instruction on the processor
Controls specific hardware components.
What type of language are assembly and machine code?
Low-level language.