Question: Assume that subtraction (using 2's complement addition) is performed on a hypothetical computer with two operands: A (Minuend)=0101 1010 B (Subtrahend) = 1011 0101. Identify

Assume that subtraction (using 2's complement addition) is performed on a hypothetical computer with two operands: A (Minuend)=0101 1010 B (Subtrahend) = 1011 0101. Identify the flag bits after this operation: (i) Zero flag (ii) Overflow flag (iii) Auxillary Carry flag (iv) Sign flag * (0) 0 (ii) O (iii) o (iv) 1 O (1) 0 (ii) 1 (iii) O (iv) 1 0 (0) 0 (ii) 0 (iii) 1 (iv) 1 0 (0) 0 (ii) 1 (iii) 1 (iv) 1 Assume the following: A hypothetical microprocessor is connected to four devices with the priorities (D1:7, D2:2,D3:1, D4:3) and lower number indicates higher priority. Assume the following sequence: At t=0, user program begins. Interrupts arrived from the devices on the following time units: D2 at t=5, D1 at t=6, D3 at t=8, D4 at t=10. Interrupt Service routine execution will take the following time units for each device: D2=2, D3=6, D1=4, D4=2. Identify the sequence of servicing the interrupts, if nested interrupt processing is used. * D2, D1, D3, D4 D2, D1, D3, D4, D1 D3, D2, D4, D1 D3. 01. 02. 04. D1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
