각 레지스터에 대한 보다 자세한 내용은 Intel CPU manual(http://www.intel.com/products/processor/manuals/)을 참고하시기 바랍니다.
일반목적의 레지스터
l EAX : Accumulator (함수의 return value로 사용)
l EBX : Points to data in DS
l ECX : Counting
l EDX : I/O pointer
l ESI : Source ptr for strings
l EDI : Destination ptr fro strings
특수한 목적의 레지스터
l ESP : Stack pointer (현재 thread stack의 top 위치를 가리키는 pointer)
l EBP : Points to data on stack (stack frame을 구성하는데 사용)
l EIP : Instruction pointer(다음에 CPU에서 실행되어야 할 instruction을 가리킴)
EFLAGS 레지스터
l Status Flags
n CF : Carry Flag
n PF : Parity Flags
n AF : Auxiliary Carry Flag
n ZF : Zero Flag
n SF : Sign Flag
n OF : Overflow Flag
l Control Flag
n DF : direction Flag
l System Flags
n IF : Interrupt Enable Flag
n TF : Trap Flag
n IOPL : I/O Privilege Level
n NT : Nested Task Flag
n RF : Resume Flag
n VM : Virtual 8086 mode
n AC : Alignment Check (486 only)
Segment 레지스터
l CS : Code segment
l DS : Data segment
l SS : Stack segment
l ES : Extra data segment
l FS : Extra data segment introduced with 386
l GS : Extra data segmet introduced with 386
'Programming' 카테고리의 다른 글
Thread States (0) | 2009.03.27 |
---|---|
Windbg Stack Backtracing 명령어 (0) | 2009.03.27 |
Windbg Remote debugging 설정 방법 (0) | 2009.03.20 |
Windows Error Reporting(WER)이란 (0) | 2009.02.25 |
강제로 덤프파일 수집하기 (0) | 2009.02.19 |