RAM
ROM
address bus
control bus
data bus
used to carry control signals that regulate the operation of the computer system
also carries the computer’s clock signal
keyboards
mice
monitors
often perform worse than
same buses have to be shared for fetching both instructions and data
general purpose
special purpose
program counter
current instruction register'
memory address register
memory buffer register
status register
program counter
current instruction register
memory address register
memory buffer register
status register
next instruction to execute is retrieved from main memory
the content of the PC is copied to the MAR
content of MAR transferred to main memory by the address bus
instruction is sent from main memory to the MBR by the data bus
PC is incremented by one
content of the MBR is copied to the CIR
content of the CIR is decoded by the CU
decoded instruction is split into two parts: opcode and operands
any data required by the instruction that isn’t present in registers is fetched
instruction is carried out
results of any calculations are stored in general purpose registers or main memory
opcode
one or more operands
immediate
direct
unexpected errors like:
division by 0
stack overflow
the processor stops executing the current program and places the content of its registers onto the system stack
aka saving the “volatile environment”
multiple cores
cache memory
clock speed
word length
address bus width
data bus width
each core performs its own fetch-execute cycle independently of others
different applications can be allocates different cores
small portion of incredibly fast memory
read and write speeds far higher than HDD and SSDs
instructions
data
increases the range of addresses it can specify
increasing the computer’s amount of addressable memory
increases the volume of data that can be transferred over the bus at any one time
processor can fetch more data in one cycle
reduces the number of cycles required to fetch large volumes of data
information
computer
1D
2D
laser light source
lens
photodiodes
mirror
mirror directs light onto printed barcode'
light reflected by barcode passes through lens
light is incident on the photodiode
electrical charge measured and processed to form digital signal
represents content of a barcode