Microprocessor and Computer Architecture · Unit 4
Arithmetic and Logical Operations
Exam-focused notes for Arithmetic and Logical Operations (Microprocessor and Computer Architecture, BIT151): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.
What this unit covers
- Arithmetic micro-operations
- Logical micro-operations
- Selective set logical operations
- Binary addition and subtraction of signed magnitude data
- Ones complement and twos complement representation
- Nines complement and tens complement methods
Arithmetic micro-operations
Explain different arithmetic micro operations in brief. [5]
Arithmetic micro-operations are basic operations performed on numeric data stored in registers. They involve arithmetic computations on binary data. --- The most fundamental arithmetic micro-operation. The contents of two registers are added and the result ...
Full solved answer →Explain different arithmetic and binary micro-operations in brief. [5]
Arithmetic micro-operations perform basic arithmetic operations on numeric data stored in registers. Operation Symbolic Notation Description ------------------------------------------- Add R3 ← R1 + R2 Contents of R1 and R2 are added Subtract R3 ← R1 - R2 R...
Full solved answer →Explain arithmetic micro-operations with suitable examples [5]
Arithmetic micro-operations are the basic operations performed on numeric data stored in registers. These operations include addition, subtraction, increment, decrement, and shift operations that alter the numeric value of data in registers. --- The general...
Full solved answer →Nines complement and tens complement methods
Subtract $(1197){10}$ from $(1234){10}$ using the 999's complement and 10's complement methods. [5]
"Subtract $(1197){10}$ from $(1234){10}$" means the minuend is 1234 and the subtrahend is 1197, so the value wanted is $1234 - 1197$. Both numbers have four digits, so every complement below is taken to four digits. The 9's complement of the subtrahend is f...
Full solved answer →Selective set logical operations
What is selective set logical operation? Draw the hardware circuit of selective set logical operation. [5]
Selective Set is a logical operation that uses the OR operation to selectively set (force to 1) specific bits of a register (operand A) based on a mask operand (operand B), while leaving the remaining bits unchanged. - If a bit in the mask (B) = 1, the corr...
Full solved answer →Binary addition and subtraction of signed magnitude data
Explain hardware implementation and algorithm for subtraction and addition of signed magnitude data with suitable diagram. [5]
In signed magnitude representation, a number has: - Sign bit (MSB): 0 for positive, 1 for negative - Magnitude bits: remaining bits representing the absolute value --- The hardware consists of the following components: Component Function -------------------...
Full solved answer →Logical micro-operations
Explain different logical micro-operations with example. [5]
Logical micro-operations perform bit-wise operations on the binary data stored in registers. Unlike arithmetic operations, they treat each bit independently (no carry propagation between bits). --- Let registers A = 1010 and B = 1100 (4-bit examples) --- - ...
Full solved answer →Make Unit 4 stick
Practice BIT151 with flashcards & quizzes