Question

In: Computer Science

what are the different addressing modes used in unconditional branch/ jump instructions? Illustrate how the new...

what are the different addressing modes used in unconditional branch/ jump instructions? Illustrate how the new program counter value is calculated in each case.

Solutions

Expert Solution

Solution: Some of the addressing modes that are widely used in while executing the jump instructions are:

  1. Intersegment Direct Mode: In this mode of addressing the control can be sent from one segment of the program to another, it helps in branching from one code segment to another within the code. In this, the addresses are specified directly. For example, JMP 7000H, 1000H; it helps the control to jump to effective address 1000H in segment 7000H.
  2. Intersegment Indirect Mode: In this mode of addressing, the control is actually transferred to a different code segment but the only difference is that the address is passed to the instruction in this case indirectly and it basically contains four bytes that are IP(LSB), IP(MSB), CS(LSB) and CS(MSB) sequentially.
  3. Intrasegment Direct Mode: In this addressing mode the destination address to which the control is supposed to be transferred actually lies within the same segment and in this mode, the displacement is always computed relative to the content of the instruction pointer. For example, JMP SHORT LEVEL.
  4. Intrasegment Indirect Mode: In this mode, the displacement is actually transferred to the instruction indirectly and with the help of this mode, the control can be transferred to the destination address within the same segment. For example, JMP [SX]; It makes the control to jump to the effective address stored in register SX.

Here's the solution to your question and it is absolutely correct, please please please provide it a 100% rating dear. Thanks for asking and happy learning!!


Related Solutions

Describe the indirect indexed addressing modes of CPU12. Illustrate with detailed examples of all addressing modes....
Describe the indirect indexed addressing modes of CPU12. Illustrate with detailed examples of all addressing modes. In the response space, give two paragraphs: 1- An Explanation: complete this part in the answer section 2- An example: complete this part in the answer section
How are the control lines extended in the control unit to include the jump/branch instructions? How...
How are the control lines extended in the control unit to include the jump/branch instructions? How is the program counter incremented for jump/branch as well as other instructions? state of objects.
There are 3 forms of Program Memory Addressing Modes: Direct, Relative and Indirect. Explain/Illustrate what happens...
There are 3 forms of Program Memory Addressing Modes: Direct, Relative and Indirect. Explain/Illustrate what happens to CS and IP registers if the JMP THERE instruction is stored at memory address 10000H (CS=1000H, IP=0000H) and the address of THERE is: (A) 10020H (B) 30000H
1. Which Interrupt Has The Highest Priority? 2. Name 5 Different Addressing Modes? 3. How Many...
1. Which Interrupt Has The Highest Priority? 2. Name 5 Different Addressing Modes? 3. How Many Interrupts Are There In 8085? 4. In 8085 Which Is Called As High Order / Low Order Register? 5. What Are Input & Output Devices?
Give three examples of how Linux is used in distinctly different applications to illustrate its proliferation...
Give three examples of how Linux is used in distinctly different applications to illustrate its proliferation in a diverse range of modern application domains?
The Chahad Bank wants to open a new branch in a distant citywith very different...
The Chahad Bank wants to open a new branch in a distant city with very different economic conditions. Currently, the bank has an expected return of 15% with a standard deviation of 7%. The new branch is expected to have a return of 20% with a standard deviation of 10%. The correlation between the bank's returns and the returns from the new branch is -0.3. The new branch is expected to contribute 10% of the bank's revenues. What is the...
The Chahad Bank wants to open a new branch in a distant city with very different...
The Chahad Bank wants to open a new branch in a distant city with very different economic conditions. Currently, the bank has an expected return of 15% with a standard deviation of 7%. The new branch is expected to have a return of 20% with a standard deviation of 10%. The correlation between the bank's returns and the returns from the new branch is -0.3. The new branch is expected to contribute 10% of the bank's revenues. What is the...
discuss the importance of different levels of prevention used in global/public health strategies for addressing risk...
discuss the importance of different levels of prevention used in global/public health strategies for addressing risk factors for specific diseases or health issues. How would these strategies influence health transitions at the population level? show supportive evidence and refereneces
Do you think heart rate responses would be different to the different modes of exercise?  Why? What...
Do you think heart rate responses would be different to the different modes of exercise?  Why? What is the purpose/function of increasing heart during exercise? What factors influence increase in heart rate during exercise among the different modes?
Different equity accounts are used depending on the type of organisational structure of the business. Illustrate...
Different equity accounts are used depending on the type of organisational structure of the business. Illustrate and explain. (80 - 150 words)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT