Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+3 votes
in Computer Architecture by

1 Answer

+1 vote
selected by (user.guest)
Best answer

The two approaches for handling global variables where a circular register buffer is used to handle local variables for nested procedures:

  1. Variables declared as global in an HLL can be assigned memory locations by the compiler, and all machine instructions that reference these variables will use memory-reference operands.
  2. Incorporate a set of global registers in the processor. These registers would be fixed in number and available to all procedures.

Related questions

+1 vote
1 answer
+1 vote
1 answer
Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.