IA-32运行时环境
来源:互联网 发布:淘宝客在哪里推广 编辑:程序博客网 时间:2024/05/22 04:36
void foo(SInt32 i, float f, double d, SInt16 s, UInt8 c);
Figure 2 Argument assignment with arguments of the fundamental data types
typedef struct {
float ary[8];
} big_struct;
void callee(big_struct *p, int a, float b)
{
big_struct callee_struct;
...
*p = callee_struct;
return;
}
caller() {
big_struct caller_struct;
callee(&caller_struct, 3, 42.0);
}
Type
Name
Preserved
Notes
General-purpose register
EAX
No
Used to return integral and pointer values. The caller may also place the address to storage where the callee places its return value in this register.
EDX
No
Dividend register (divide operation). Available for general use for all other operations.
ECX
No
Count register (shift and string operations). Available for general use for all other operations.
EBX
Yes
Position-independent code base register. Available for general use in non–position-independent code.
EBP
Yes
Stack frame pointer. Optionally holds the base address of the current stack frame. A routine’s parameters reside in the previous frame as positive offsets of this register’s value. Local variables reside at negative offsets.
ESI
Yes
Available for general use.
EDI
Yes
Available for general use.
Stack-pointer register
ESP
Yes
Holds the address of the bottom of the stack.
- IA-32运行时环境
- IA-32
- IA-32
- 两种方法搭建IA-32汇编设计环境
- 两种方法搭建IA-32汇编设计环境
- Android IA build环境建构
- IA 64 and IA-32 MTRRs
- IA-32寄存器
- IA-32汇编知识
- IA-32操作模式
- IA-32 Debug寄存器
- IA-32 汇编
- ia-32汇编笔记
- IA-32寄存器
- IA-32指令系统概述
- IA-32指令类型
- C/C++日常学习总结(第十六篇)分析IA-64和IA-32位机器上同一个程序运行,前者报错,后者正常
- 几个概念:x86-64 x64以及IA-32 IA-64
- 《自己动手编写操作系统》笔记
- NAND FLASH学习笔记之nand flash基础(一)
- LeetCode Candy
- 黑马程序员_java7K面试题(银行调度系统)
- php中提示Undefined index的解决方法
- IA-32运行时环境
- linux ip命令
- mysql数据切分
- 基于jquery的关于动态创建DOM元素的问题
- 《自己动手写操作系统》第三章 pmtest1——从实模式到保护模式
- 运行时环境笔记
- Burnside引理
- 《高性能MySQL》读书笔记--索引
- NAND FLASH学习笔记之nand flash基础(二)