Computer Languages
|
Memory addresses direct the computer to where data is located or where it is to be transferred. Assembly Language uses easily identifiable symbolic addressing and allows the programmer to work in the more familiar base ten number system. In the example below the variables TOTALSCORE, FRENCHSCORE AND ENGLISHSCORE are addressed by their names (symbolic addressing), not by their physical address in memory.
So if to begin with TOTALSCORE equals 15 and FRENCHSCORE equals 20 then TOTALSCORE would become 15+20+50=85 after this
part of the code has run. |