Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can you tell me how to view the addresses of variables in CPU registers address?
p/s: The address can be useful for my assembly project.
Thanks for solutions!
Posted

1 solution

Um.
CPU registers don't have addresses: they aren't part of the "normal" memory, they are specific places in the processor which can hold values (normally but not necessarily integer) which can be interpreted as memory addresses. But except for some rather odd processors you cannot take the "address" of a register.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900