(32位汇编 十)SI/DI/BP/SP/IP/CS/DS/ES/SS
来源:互联网 发布:中巴公路 知乎 编辑:程序博客网 时间:2024/05/23 00:04
DS
is called data segment register. It points to the segment of the data used by the running program. You can point this to anywhere you want as long as it contains the desired data. ES
is called extra segment register. It is usually used with DI
and doing pointers things. The couple DS:SI
and ES:DI
are commonly used to do string operations. SS
is called stack segment register. It points to stack segment.
The register SI
and DI
are called index registers. These registers are usually used to process arrays or strings. SI
is called source index and DI
is destination index. As the name follows, SI
is always pointed to the source array and DI
is always pointed to the destination. This is usually used to move a block of data, such as records (or structures) and arrays. These register is commonly coupled with DS
and ES
.
The register BP
, SP
, and IP
are called pointer registers. BP
is base pointer, SP
is stack pointer, and IP
is instruction pointer. Usually BP
is used for preserving space to use local variables. SP
is used to point the current stack. Although SP
can be modified easily, you must be cautious. It's because doing the wrong thing with this register could cause your program in ruin. IP
denotes the current pointer of the running program. It is always coupled with CS
and it is NOT modifiable. So, the couple of CS:IP
is a pointer pointing to the current instruction of running program. You can NOT access CS
nor IP
directly.
- (32位汇编 十)SI/DI/BP/SP/IP/CS/DS/ES/SS
- DS, ES, SS, DI, SI, BP, SP, IP, FS 寄存器
- DS, ES, SS, DI, SI, BP, SP, IP, FS 寄存器
- DS, ES, SS, DI, SI, BP, SP, IP, FS 寄存器
- DS, ES, SS, DI, SI, BP, SP, IP, FS 寄存器
- DS, ES, SS, DI, SI, BP, SP, IP, FS 寄存器
- CS、DS、SS、ES
- 汇编学习第二课之 CS:IP,DS,SS:SP 寄存器
- 汇编学习笔记-si-di-bx-bp
- cs,ds,ss,es?即cs,ds,ss,es的区别
- 寄存器中cs,ds,ss,es的区别
- 汇编语言中cs.ds.es.ss怎么用
- 寄存器中cs,ds,ss,es的区别
- 8086汇编学习之DS寄存器、SS/SP寄存器
- 堆栈中的ss,bp,sp
- SS, SP, BP 三个寄存器
- 解析SS、SP、BP寄存器
- SS, SP, BP 三个寄存器
- (32位汇编 五)mov/add/sub/and/or/xor/not
- spoj Distinct Substrings
- All Roads Lead to Rome (30)
- (32位汇编 六)内存读写及寻址方式
- Intel处理器简介
- (32位汇编 十)SI/DI/BP/SP/IP/CS/DS/ES/SS
- (32位汇编 八)标志寄存器
- (32位汇编 九)ADC/SBB/XCHG/MOVS/STOS/REP
- (32位汇编 十一)修改EIP的值
- (32位汇编 七)堆栈/栈(stack)
- ajaxfileupload.js上传插件的使用(php版)
- Java常见集合框架(十一):Set之LinkedHashSet、CopyOnWriteArraySet
- 在linux环境下安装php扩展
- git