Article View: comp.arch
Article #12837Available no. of registers
From: ram
Date: Fri, 16 Jan 1987 18:51
Date: Fri, 16 Jan 1987 18:51
26 lines
1410 bytes
1410 bytes
Hi,
This is my first posting in this newsgroup. So hold your flames if this
is a dumb question.
C allows "register ......" construct which instructs the compiler
to reserve a machine register to store that value. Now my question is,
given a fixed number of registers, How many are effectively usable for
the register declaration. I know this is machine dependent. Could
somebody say how many register definitions I could use within a block
of code say for a VAX. And please go on to mention the CPU/Machine that
allows the greatest number and smallest number of such declarations.
Is this number fixed or does it change as the program runs.
Renu Raman
....ihnp4!nucsrl!ram
Northwestern Comp. Sci. Lab
"it is a poor sort of memory that works backwards"
---The Queen
Technical Details
Message-ID:
<3810002@nucsrl.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!chinet!nucsrl!ramShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!chinet!nucsrl!ram From: ram@nucsrl.UUCP Newsgroups: comp.arch Subject: Available no. of registers Message-ID: <3810002@nucsrl.UUCP> Date: Fri, 16-Jan-87 13:51:27 EST Article-I.D.: nucsrl.3810002 Posted: Fri Jan 16 13:51:27 1987 Date-Received: Sat, 17-Jan-87 23:44:35 EST Organization: Northwestern Univ., Evanston IL Lines: 26