KCS302-01 (Microoperations)
KCS302-01 (Microoperations)
Architecture (BCS302)
• Types of Microoperations
Microoperations
· Types of Microoperations are-
· Arithmetic operations · Logic operations
(word – wise) (bitwise)
+ Addition Logical OR
– Logical
Subtraction * AND
Multiplication / Logical Exclusive OR ¯
Division
Shift Description Logical NOT
Microoperations
NOTE- Other shifts are also possible (i.e. circular and arithmetic).
Microoperations: Examples
· Add the content of R1 to the content of R2 and place the
result in R1.
R1 R1 + R2
PC R2
· Take the 1’s Complement of the contents of R2 and place it in
the PC.
(K1 + K2): R1 R1 R3
R0 R1 Bitwise NOT
R0 R1 R2 Bitwise OR
R0 R1 R2 Bitwise AND
R0 R1 R2 Bitwise EX-OR
Logic Microoperations (Examples)
R0 Operation
01010101 R0 R1
11111010 R0 R1 R2
10100000 R0 R1 R2
01011010 R0 R1 R2
Shift Microoperations
Symbolic Description
Designation
R1 shl R1 Shift Left
R1 shr R1 Shift Right