1 votes 1 votes Assume that the base register contains 32856. The program counter is currently having a value of 25687 memory location. What is the branch address if the address field of jump instruction contains -30 in the address field and instruction is designed with base register addressing mode? 32826 25657 32886 25717 CO and Architecture co-and-architecture branch-conditional-instructions addressing-modes + – Na462 asked Dec 2, 2018 • retagged Aug 1, 2022 by Shubham Sharma 2 Na462 505 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Na462 commented Dec 8, 2018 reply Follow Share I have one doubt as the branch offset is added to program counter for getting the branch address but tin question they have added it to the base register why ? Is it because of the addressing mode ? Any body ? 0 votes 0 votes sachin486 commented Jul 31, 2020 reply Follow Share yeah it depends on addressing mode in case of pc relative mode the jump instruction offset will be added to pc value. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Addressing mode -- base register So branch address = 32856 + (-30) = 32826 Program counter is taken if it is PC relative addressing mode sachin486 answered Jul 31, 2020 sachin486 comment Share Follow See all 0 reply Please log in or register to add a comment.