CottwilDelian6a CottwilDelian6a
  • 23-12-2016
  • Computers and Technology
contestada

Why would it not be a good idea to use numeric addresses when writing instructions that access variables?

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 31-12-2016
Variable names are convenient for the programmer. The variable name is actually a pointer to the address that the value is stored. People are better with words than numbers. If programmers had to use addresses instead of names, they'd be insane in short order.

Another problem is relocatable code. In modern OS's the code is loaded into different memory locations, so any address has to be an offset into the current section of memory, absolute addresses won't work.
Answer Link

Otras preguntas

which of the following expressions is equal to g(x)​
What are two differences between the Eastern and Roman churches?
At noon, the temperature in Lumpkin, Virginia was 31°F. By midnight, the temperature had fallen to 9°F. What was the change in temperature over the 12-hour peri
If you move a substance from one container to another and its volume changes oh, the substance is a? a) solid b) liquid c) gas d) both b and c
Verify sin(180-theta)=sin(theta) (SHOW WORK)
the number 75 falls netween what two perfect squares?​
Midpoint formula Point A is at (-7, -9) and point B is at (6,3). What is the midpoint of line segment AB?
-5=3/4x-2 please help
Put the steps of dna replication in order . Please help
What is the domain of the function f (x) = |x-1|? Choose: All Reals [1,00) (-00, 1) (-0, -1)