问个呆呆的DEBUG问题
我用的是在WIN下虚拟的,在DEBUG下。可以看到有若干寄存器
但是我想我电脑不会就这点寄存器吧?是怎么回事情
是不是因为是虚拟的?如果我用DOS启动呢?(现在没有DOS)
谢谢
问题点数:5、回复次数:5Top
1 楼redhgg()回复于 2006-05-01 02:26:20 得分 0
书上说DEBUG是基础于8086的,是不是虚拟的8086机器让我们整的玩的?Top
2 楼redhgg()回复于 2006-05-01 02:30:01 得分 0
我们用的机器属于8086??Top
3 楼redhgg()回复于 2006-05-01 02:42:48 得分 0
我们实际的机器到底有几个寄存器?Top
4 楼zara(Kyrie eleison)回复于 2006-05-01 08:46:03 得分 5
目前通常的大致有下面这些吧. 此外还有浮点部分, 多媒体部门
Accumulator [E]AX (AH/AL) Multiply, divide, I/O, fast
arithmetic
Base [E]BX (BH/BL) Pointer to base address (data
segment)
Count [E]CX (CH/CL) Count for loops, repeats, and shifts
Data [E]DX (DH/DL) Multiply, divide, and I/O
Source Index [E]SI Source string and index pointer
Destination Index [E]DI Destination string and index pointer
Base Pointer [E]BP Pointer to stack base address
Stack Pointer [E]SP Pointer to top of stack
Flags [E]<Flags> Processor flags
Instruction Pointer [E]IP Memory location of current
instruction
Code Segment CS Segment containing program code
Data Segment DS Segment containing program data
Stack Segment SS Segment for stack operations
Extra Segment ES Extra program data segment
" FS Extra program data segment (386+)
" GS Extra program data segment (386+)
Control Registers CR(0-3) Paging, caching, and
protection (386+)
Debug Registers DR(0-7) Data and instruction
breakpoints (386+)
Test Registers TR(3-7) Testing the TLB and cache (386+)
Global Descriptor GDTR Address and limit of GDT (286+)
Local Descriptor LDTR Address, limit, and selector of
LDT (286+)
Interrupt Descriptor IDTR Address and limit of IDT (286+)
Task Register TR Address, limit, selector, and
attributes of current task
The E register prefix refers to the full 32-bit register (386+).Top
5 楼redhgg()回复于 2006-05-01 11:08:20 得分 0
好象真的是很少,昨天也看过了好象更加明白了点
谢谢 结帖Top




