Annotated Notes of this lecture: https://shorturl.at/adrBM
Complete COA (Computer Organization and Architecture) Playlist: • Computer Organization and Architectur...
Complete Pipeline Playlist: • Pipeline - Complete Playlist | Hazard...
Relative mode of addressing is most relevant to writing Position–independent codes.
Code relocation can be done whenever addresses are not directly specified in the program (absolute), but are relative to some register or variable or other modifiable source.
For writing program relocatable code, PC relative addressing modes are useful. In a multiple user environment, a user’s program should be capable of residing anywhere in memory. That is, user programs should be address independent.
The base register mode & relative addressing mode are able to support relocation of code and data, the effective address is calculated based on the value loaded in base register Or PC.
For base addressing, a register points to the base of the structure and the effective address is obtained by computing an offset from the base. For relocation of code, the base address register can be loaded at run time to point to the new base of the structure so the code doesn't have to be modified.
For PC relative, the effective memory address is obtained by computing an offset from the current PC. No matter where the code is loaded in memory, the offsets are always the same so the code needs no modification.
Crack GATE Computer Science Exam with the Best Course.
➤ Join "GO Classes #GateCSE Complete Course": https://www.goclasses.in/s/pages/gate...
Join GO Classes #Gate2024 Complete Course here: https://www.goclasses.in/courses/GATE...
➤ Download GO Classes Android APP: https://play.google.com/store/apps/de...
----------------------------------------------------
#GoClasses Website : https://www.goclasses.in/
#GOClasses ALL Links : https://linktr.ee/goclasses
➤ Join GATEOverflow + GoClasses Combined TEST SERIES for Best Quality questions for GATE CSE Preparation, Here:
https://gateoverflow.in/blog/14987/ga...
----------------------------------------------------
➤Join GATE Overflow & GO Classes #Telegram Groups for GATE CSE Doubt Discussions:
1. https://t.me/GATECSE_Goclasses
2. https://t.me/gateoverflow_cse
3. https://t.me/goclasses_cse
----------------------------------------------------
➤ Watch Complete Discrete Mathematics and Complete Engineering Mathematics Courses on GO Classes( FREE for ALL learners) : https://www.goclasses.in/s/store/
Complete #Discrete_Mathematics Course(FREE) Link :
https://www.goclasses.in/courses/Disc...
Complete #Engineering_Mathematics Course(FREE) Link :
https://www.goclasses.in/courses/Engi...
Know ALL about GO Classes GATE 2024 Course: https://www.youtube.com/live/47_lF9_N...
Download GATEOverflow GATE Previous Years Questions(GATE CSE PYQs) Books here:
https://github.com/GATEOverflow/GO-PD...
----------------------------------------------------
Feel free to Contact Us for any query.
➤ GO Classes Contact :
(+91)63025 36274
(+91)9468930964
GO Classes Mail ID :
[email protected]
[email protected]
#gatecse #gate2024 #goclasses #computerscience #computer_science