MIPS vs. ARMv8
ARMv7 vs. ARMv8
general purpose register (GPR)
A register that can be used for addresses or for data with virtually any instruction
x86
difference with operands in x86 vs. ARMv8/MIPS
double word vs. word size
x86 integer operations (four things)
how to convert a 64 bit operation to 32 bits in ARMv8
unique feature of the ARMv8
second register of all arithmetic and logical processing operations has the option of being shifted before being operated on
ADDS
does the regular add of the registers with the right half of the operands and sets the condition codes
ADC
adds the values in two operands along with the current value of the carry flag, storing the result in a destination register
ASR
ROR
MOVN
performs a bitwise logical NOT on the source operand before moving the result into the destination register
things that can be represented as bits
how addition works with binary
how subtraction works with binary
overflow
arithmetic logic unit (ALU)
Hardware that performs addition, subtraction, and usually logical operations such as AND and OR
reminder of when overflow is impossible
When positive and negative operands are added, because the result’s magnitude will surely be less than the larger of the two operands.
how multiplication works with binary
Moore’s law with binary multiplication
multiplicand
multiplier