CS/컴퓨터 구조
2.17 Real Stuff : x86 Instruction
sliver__
2023. 10. 31. 21:05
728x90
x86 Registers and Data Addressing Modes
GPR : General Purpose register sets
8, 16, 32bits를 모두 지원하므로 default large size를 설정한다.
변수 중 가장 큰 사이즈로 설정하여 사용한다.
x86 interger operation은 4가지로 분류됨
- Data movement instructions, including move, push, and pop
- Arithmetic and logic instructions, including test, integer, and decimal arithmetic operations
- Control flow, including conditional branches, unconditional jumps, calls, and returns
- String instructions, including string move and string compare



728x90