CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A 2-Byte long machine insturction is stored in memory at address (710)16. The branch is made to location (630)16 . What is the signed offset value (in bytes) present in the instruction?

Open in App
Solution

option (d)

In PC- relative mode:

Target address = PC value + offset

When current instruction will be in calculating target address phase.

then PC- value will be address of next instruction:

PC = 710 + 2 = (712)16

Target address = PC value + offset

(630)16=(712)16+offset

offset = (E2)16

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Collection and Organisation of Data
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon