2 2 votes A 4 byte long PC-relative branch instruction is fetched from memory address 512 10 and while its execution, the branch is made to location 885 10 . What is the unsigned displacement present in the instruction? (relative value) CO & Architecture + – Brij Mohan Gupta 2.5k views answer comment Share Follow Print See 1 comment 1 1 comment reply dd commented Oct 1, 2016 reply Follow flag Edit your question and set the bases correctly. 0 0 replyShare Please log in or register to add a comment.
4 4 votes After fetching the instruction PC value is = 51214 Target address = current PC + relative distance => relative distance = 88510 - 51214 = 37296 dd answered Sep 19, 2016 • edited Sep 20, 2016 by dd dd comment Share Follow See all 3 Comments 3 3 Comments reply Kapil commented Sep 21, 2016 reply Follow flag 512 10 -> What is this ? why is there a gap? I think, it should be interpreted like this => (512)10. 0 0 replyShare Pankaj kumar commented Sep 21, 2016 reply Follow flag yes you are right. 0 0 replyShare Lone Wolf commented Jun 24, 2018 reply Follow flag how can you know memory block can store only 1 byte data? please explain 0 0 replyShare Please log in or register to add a comment.