基址 - 百科全书 - 118查实用查询

输入词条,如查找北京欢迎你的解释,输入北京欢迎你后按Enter即可

百科全书 > 基址

基址


ad

base address :

the part of a two-part memory address that remains constant and provides a reference point from which the location of a byte of data can be calculated. a base address is accompanied by an offset value that is added to the base to determine the exact location(the absolute address)of the information. the concept is similar to a street address system . for example, "2010 main street " plus an offset(10from the beginning of the block ).base address are known as segment address in IBM pcs and compatibles; data in these computers is identified by its position as a relative offset the start of the segment.

基址:

保持恒定的两部分内存地址的一部分并提供一个基准点,从这里可以计算一个字节数据的位置。基址伴随着一个加到基上的偏移值来确定信息准确的位置(绝对地址)。这一概念与街道地址系统雷同。例如:“大街2010号”由基(大街2000街段)加上偏移值(从街段开始的10号)。在IBMPC和兼容机中的数据按其相对于由段开始的相对偏移位置被识别。

多在外挂程序中运用。

举例:

游戏中任何数据都在内存中存在,不管是血,蓝,等级,怪物名字,地图名字,只要是数据。全在内存中。 只要你读取那个内存地址就能显示出血来。 其实说白了,游戏客户端显示的数据也是读取的内存中的数据而显示出来的。
struct renwu //人物结构
{
DWORD xue; //血
DWORD lan; //蓝
DWORD dengji; //等级
........
};

void init() //游戏初始化函数
{
struct renwu *dwRW;
dwRW = new struct renwu;
}

游戏初始化了,dwRW在内存中的地址是固定的,这就是基地址

此内容系本站根据您的指令自动搜索到的结果,不代表本站赞成其中所述的内容或立场

ad


百科全书查询结果由 118cha.com 提供 [复制结果]