Introduction to Computing Systems
from bits & gates to C & beyond
Chapter 5Chapter 5
The LC-3 Instruction Set
Architecture
ISA Overview
Operate instructions
Data Movement instructions
Control Instructions
LC-3 data path
Examples
AND R2, R3, R6
AND R2, R2, #0 ; Clear R2 to 0
Question: if the immediate value is only 6 bits, how can it mask the whole of R2?
Note: Condition codes are set.