有没有一种方法可以获取寄存器的地址? [英] Is there is a way to get the address of a register?

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

问题描述

是否有一种获取寄存器地址的方法?例如,eax寄存器的地址(不是它的内容).

Is there is a way to get the address of a register? For example, the address of the eax register (not it's content).

推荐答案

像Univac 1100系列计算机那样,已经有使用低地址来指定CPU寄存器的体系结构.

There has been architectures where low addresses were used to designate CPU registers, like the Univac 1100 series of computers.

http://en.wikipedia.org/wiki/UNIVAC_1100/2200_series

当前的x86硬件无法正常工作,因此您无法获取EAX寄存器的地址-它只是没有一个.

Current x86 hardware doesn't work that way, so you cannot get the address of the EAX register - it just doesn't have one.

这篇关于有没有一种方法可以获取寄存器的地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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