Is there any way in C# for loading register value to variable? Like I want to load value of al register.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No – C# isn’t tied to any particular CPU architecture, and the use of registered will be decided by the JIT compiler anyway. It’s hard to see how you could get any useful information from a register – given that the JIT compiler decides how to use the registers, what would you actually do with the value afterwards?