- Mastering Assembly Programming
- Alexey Lyashko
- 124字
- 2021-08-20 10:23:26
Instruction pointer
There is one more special register that cannot be used for data storage--EIP (IP in the real mode or RIP in the long mode). This is the instruction pointer and contains the address of the instruction after the instruction currently being executed. All instructions are implicitly fetched from the code segment by the CPU; thus the full address of the instruction following the one being executed should be described as CS:IP. Also, there is no regular way to modify its content directly. It is not impossible, but we can't just use a mov instruction in order to load a value into EIP.
All the other registers have no special meaning from the processor's perspective and may be used for any purpose.
推薦閱讀
- Java入門經典(第6版)
- .NET 4.0面向對象編程漫談:基礎篇
- Hadoop+Spark大數據分析實戰
- Java Web開發技術教程
- 你不知道的JavaScript(中卷)
- SSM輕量級框架應用實戰
- Mastering JavaScript High Performance
- 區塊鏈技術與應用
- Creating Data Stories with Tableau Public
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- 官方 Scratch 3.0 編程趣味卡:讓孩子們愛上編程(全彩)
- Java多線程并發體系實戰(微課視頻版)
- 關系數據庫與SQL Server 2012(第3版)
- 產品架構評估原理與方法
- MySQL數據庫教程(視頻指導版)