각종 레지스터들의 약자에 대한 이름 풀이이다.
아무튼.. SI는 Stack Index가 아닌 Source Index -_-
S는 은근 헷갈린단 말이야.. OTL
아무튼.. SI는 Stack Index가 아닌 Source Index -_-
S는 은근 헷갈린단 말이야.. OTL
Purpose
Although the main registers (with the exception of the instruction pointer) are "general-purpose" and can be used for anything, it was envisioned that they be used for the following purposes:
- AX/EAX/RAX: accumulator
- BX/EBX/RBX: base index (ex: arrays)
- CX/ECX/RCX: counter
- DX/EDX/RDX: data/general
- SI/ESI/RSI: "source index" for string operations.
- DI/EDI/RDI: "destination index" for string operations.
- SP/ESP/RSP: stack pointer for top address of the stack.
- BP/EBP/RBP: stack base pointer for holding the address of the current stack frame.
- IP/EIP/RIP: instruction pointer. Holds the program counter, the current instruction address.
'Programming > Assembly(어셈블리)' 카테고리의 다른 글
ia32 어셈블리 언어 (0) | 2013.12.12 |
---|---|
.DATA? 지시어 (0) | 2011.07.31 |
PowerPC(PPC) 어셈관련 내용 (0) | 2011.04.04 |
어셈블리 메모리 참조 (x86 memory addressing) (0) | 2010.05.03 |
어셈블리 언어 (0) | 2010.05.03 |