Deprecated: Implicit conversion from float-string "1610615641.385" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1610615641.385" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1610615641.385" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1610615641.385" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1610615641.385" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1596877485.725" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1596877485.725" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1596877485.725" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1596877485.725" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1596877485.725" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1622632560.237" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1622632560.237" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1622632560.237" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1622632560.237" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1622632560.237" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1599964556.813" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1599964556.813" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1599964556.813" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1599964556.813" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1599964556.813" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
CO and Architecture: self doubt computer organization
retagged by
4,441 views
12 votes
12 votes
The most relevant addressing mode to write position-independent code

what is the meaning of postion - independent code
retagged by

2 Answers

Best answer
22 votes
22 votes

Hope it helps!

selected by
16 votes
16 votes
Position-independent code simply means that placing such a piece of code anywhere in the memory does not require additional address modifications. As suggested, PC-relative is the most relevant one. For example, consider base-register based mode wherein the address stored by base register depends on the memory it is loaded to, even though the offset mentioned in the code is position-independent.

Related questions


Deprecated: Implicit conversion from float-string "1692710064.189" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1692710064.189" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1692710064.189" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1692710064.189" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
433
views
1 answers
0 votes
air1ankit asked Sep 13, 2017
433 views
X= (a+b)*(c+d) variables are in the memory execute on a register -register cpuThen how many 2 address and 3 address instructions requare .. Explain please
529
views
0 answers
0 votes
rahul sharma 5 asked Jan 3, 2017
529 views
A bit near the center of a rotating disk travels past a fixed point (such as aread–write head) slower than a bit on the outside. Therefore, some way must befound to com...
235
views
0 answers
0 votes
Ray Tomlinson asked Aug 22, 2023
235 views
is this formula is correct if it is correct then in gate 2006 Question 75 why they not used this formulahttps://gateoverflow.in/43565/gate-cse-2006-question-75
289
views
1 answers
0 votes
Sourin Kundu asked Jan 27, 2023
289 views
Consider two cache organization which are byte addressable.In both cache organization cache size is 64 KB with 32-byte block.The first cache organization is direct mapped...