Data Manipulation Flashcards
Computer Architecture
Central Processing Unit (CPU) processor
-Arithmetic/Logic unit vs. Control unit
-Registers
+General purpose
+Special purpose
Bus
Motherboard
Machine instruction and machine language
Machine instruction : An instruction encoded as a bit pattern recognizable by the CPU
Machine language : The seet of all instructions recognizable by a machine
Machine Language Philosophies
RISC : Reduces Instructions Set Computing
-Few, simple, efficint, fast
-PowerPC by IBM/Motorola/Apple/ARM
CISC : Complex ınstruction Set Computing
-Many, convenient, powerful instructions
-Intel
Machine Instruction Types
+Data Transfer : Copy data one location to another
+Arithmetic/Logic : Use existing bit patterns to compute new ones
+Control : Direct the execution pf the program
Parts of a Machine Instructions
-Op-code : Which operation
-Operand : Gives more detailed info about operation
Program Execution
Controlled by two special-purpose registers
-Program counter : address of next instruction
-Instruction register : current instruciton
Machine Cycle
-Fetch
-Decode
-Execute
Special purpose registers
Program counter : address of next instruction
Instruction register : current instruction
Machine cycle
Fetc Decode Execute
Arithmetic/Logic Operations
Logic : OR/XOR/AND
Rotate and Shift
Arithmetic : Add, subtract, multiply, devide
Communicating with other devices
+Controller
+Port
+Memory Mapped I/O
+Direct memory access (DMA)
+Von Neumann Bottleneck
+Handshaking
+Parallel Communication
+Serial Communication
Communicating with other devices
+Controller :
An intermaediary apparatus that handles communication between the computer and a device
-Specialized controllers for each type of device
-General purpose controllers (USB and FirWire)
Communicating with other devices
+Port :
The point at which a device connects to a computer
Communicating with other devices
+Memory Mapped I/O :
CPU communicates with peripheral devices as though they were memory cells
Communicating with other devices
+Direct Memory Access (DMA) :
Main memory access by a controller over the bus
Communicating with other devices
+Von Neumann Bottleneck :
Insufficient bus speed impedes performance