如何查看CPU寄存器地址? [英] How to view CPU registers address?

查看:738
本文介绍了如何查看CPU寄存器地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我如何查看CPU寄存器地址中变量的地址吗?

p / s:这个地址对我的装配项目很有用。

谢谢你解决方案!

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!

推荐答案

嗯。

CPU寄存器没有地址:它们不属于普通内存,它们是处理器中的特定位置可以保存可以解释为存储器地址的值(通常但不一定是整数)。但除了一些相当奇怪的处理器,你不能拿一个寄存器的地址。
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.


这篇关于如何查看CPU寄存器地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆