arithmetic logic unit (ALU)
1 bit ALU
64 bit ALU
1 bit adder
ex. full adder that has 3 inputs, 2 outputs (2 inputs and carryIn, sum and carryOut)
CarryOut
CarryIn
adder
static random access memory (SRAM)
how adders do subtraction
ripple carry adder
adder created by directly linking the carries of 1-bit adders
DeMorgan’s Theorem
NOT(a OR B) = NOT a AND NOT b
!(A + B) = !A * !B
instructions
words of a computer’s language
instruction set
why are instruction sets so similar?
stored program concept
The idea that instructions and data of many types can be stored in memory as numbers and thus be easy to change, leading to the stored-program computer
LEGv8 instruction to add two numbers
comments/statements in LEGv8
LEGv8 instruction to subtract two numbers
why only three operands?
how a basic addition statement is computed w hardware (4 steps)
LEGv8 operands: 32 registers
LEGv8 operands: 2^62 memory words
word
A natural unit of access in a computer, usually a group of 32 bits
double word