Question

Assume that you have a machine as shown in section 3.2.2 of Block 3 having the micro-operations as given in Figure 10 on page 62 of Block 3. Consider that R1 and R2 both are 4 bit registers and contains 0101 and 1010 respectively. What will be the values of select inputs, carry-in input and result of operation if the following micro-operations are performed? (For each micro-operation you may assume the initial value of R1 and R2 as defined above)

1) Subtract R2 from R1

2) Decrement R1

3) Shift Right R1

4) Add R1, R2 and a carry bit as 1

30 Nov 2017
Answer :
Word Count : 525

Sure, let's break down the fetch and execute operations for the conditional branch instruction "JMP0 X" on the hypothetical machine with the provided registers. We'll assume a simplified microarchitecture with the following registers:

- PC (Program Counter)
- AC (Accumulator)
- MAR (Memory Address Register)
- IR (Instruction Register)
- DR (Data Register)
- Flag Register (used to store condition status, e.g., zero/non-zero)

Here are the steps for the fetch and execute operations:

**Assumptions:**
- The instruction "JMP0 X" consists of the opcode for conditional jump and the memory address X.
- Memory locations are assumed to store either instructions or data.
- The Flag Register is set to 1 when the AC is zero, and 0 otherwise.

**Fetch Operation:**
1. The PC contains the address of the current instruction to be fetched.
2. The value of PC is copied into the MAR.
3. The control unit activates the Read operation on the memory using the value in the MAR.
4. The fetched instruction is stored in the IR.
5. The PC is incremented to prepare for fetching the next instruction.

**Execute Operation:**
1. The opcode

_________ ____ ______ ____ _______ ______ ________ _________.
_________ _______ _____ ____ ________ ____ ______ _____ ________ _____.
___ ____ __________ _____ ____ _______ ___ _________ _____.
____ ____ __________ __________ ________.
___ _________ ______ ________ _______ ______ __________ ______.
___ __________ _____ __________ __________ __________ _____.
_____ _____ _______ ___ ____ __________ _____ __________ __________ _____ __________ _______.
____ _____ _______ __________ _______ __________ ___ _____ __________ ________ ____.
____ _______ __________ ________ _____ ________ ______.
_______ ____ _________ _________ _____ _________ _________ ____ ____ _____.
________ ______ ____ ______ _______ ______.
________ ________ ________ ________ _________ ____ __________ __________ ____ _____ _____.
__________ ____ _________ _________ __________.
__________ ____ ____ _______ ________ _____ ______ ________.
___ ______ _______ _______ __________.
_____ _______ ________ ________ _____ ______ _________ ___ _____ ______ ___.
________ __________ ______ _________ __________ ______ _______ _______ _____.
_____ _______ _______ _______ ______ ________ ____ ____ ____ ___.
_________ __________ ______ _______ _____.
_____ ______ ___ ________ ___ ______ ________ ___ ___ ______ ________.
____ __________ _______ ______ ____ _______ ______.
________ ________ _____ __________ _________.
________ ________ ___ _______ ______.
__________ _______ ________ _________ ________ _____ ___.
_____ ________ _______ _________ ____ _______.
__________ ______ __________ ____ ______ _______ __________ ____ __________ _______ ___.
______ _______ ____ ________ ______ _______ ______.
___ _______ ____ ____ _________ ___ _______ _______.
_________ ___ ____ ________ _______.
________ ________ ______ _____ _____ _____.
_______ ______ ______ ___ _________ _____ _______ ________ ________ ______ ________ ________.
_______ ______ __________ _______ _________ _________ ____ _________ ______ ________ ____ _________.
______ __________ _______ ________ ___ ________ _________ __________ ___ _______.
_________ ________ __________ ______ ___ _________ __________ ________ _______.
____ ______ _______ _______ _______ __________ ___.
__________ _________ __________ _________ _______ _____ ___ _________ _________.
_________ _________ ____ __________ _______ ________ ______ __________ ________ _____ _________.
_________ ___ _________ ____ ___.
___ ________ ________ ____ _____ ________ ________ __________ ___ ______.
____ _______ ____ __________ ________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 12 2010 - Assume that you have a machine as shown in section 3.2.2 of Block 3 ha | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→