2013-02-13 63 views
2

我想跟踪我一直在使用涡轮汇编,但即时通讯这个值放养搜索的程序:涡轮汇编CS区间解释

cs:0006->8ED8   mov ds,ax 
cs:0392->66B800060000 mov eax,00000600 
cs:039A->66B900000000 mov ecx,00000000 

有人可以帮我解释一下吗?尤其是数字显示在CS部分。

回答

2

“CS”是指当前代码段,它指的是段中的偏移量后的位数。箭头之后的数字是指令的操作码。

cs:0006->8ED8   mov ds,ax 
^ ^ ^
| |  | 
| |  +-- Opcode of the "mov ds,ax" instruction 
| | 
| +-- Offset of the instruction within the code segment (6 bytes) 
| 
+-- Current code segment, see contents of your CS register 

另请参阅X86 Memory Segmentation了解更多详情。

对于x86操作码的列表,请参阅http://ref.x86asm.net/

+0

我还是不能让你it.Can进一步解释? – scarface23 2013-02-13 15:23:28

+0

你需要更具体:)你的问题到底是什么? – 2013-02-13 15:26:13

+0

好吧,我明白了,但那个偏移量呢?我的意思是如果它是“39A”,这是否意味着它是922字节?顺便说一下,什么是操作码? – scarface23 2013-02-13 15:28:05