Computer Organization & Embedded System — Control and Central Processing Units, NEC licence examination syllabus (Nepal Engineering Council).
Moving data around vs actually changing it.
Every instruction set can be split into instructions that just move data (nothing computed, just relocated) and instructions that manipulate data (something is actually computed or transformed).
Transfer instructions never change the value of the data — a MOV from R1 to R2 leaves the actual bits untouched, just copies them somewhere else.LOAD / STOREMove data between register and memory.
MOVE / EXCHANGECopy, or swap two locations.
PUSH / POPStack operations.
IN / OUTTalk to I/O ports.
ArithmeticADD, SUB, MUL, DIV, INC, DEC.
Logical/bitAND, OR, XOR, NOT, CLEAR, SET.
Logical shiftFills with 0.
Arithmetic shiftPreserves the sign bit — used for fast multiply/divide by powers of 2.
RotateBits that fall off one end wrap around to the other, optionally through the carry flag.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…