Shri vishnu engineering college for women:: bhimavaram department of information technology



Download 3.29 Mb.
View original pdf
Page95/128
Date12.04.2022
Size3.29 Mb.
#58595
1   ...   91   92   93   94   95   96   97   98   ...   128
ITIIBTechIISemLecCOA
0910-ComputerSystemOverview02
Global Variables The window scheme does not address the need to store global variables, those accessed by more than one procedure. Two options suggest themselves.
First, variables declared as global in an HLL can be assigned memory locations by the compiler, and


UNIT-III
DEPARTMENT OF INFORMATION TECHNIOLOGY::SVECW Page 15 all machine instructions that reference these variables will use memory-reference operands. An alternative is to incorporate a set of global registers in the processor. These registers would be fixed in number and available to all procedures..There is an increased hardware burden to accommodate the split in register addressing. In addition, the compiler must decide which global variables should be assigned to registers.

Download 3.29 Mb.

Share with your friends:
1   ...   91   92   93   94   95   96   97   98   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page