QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1573|回复: 0

请问关于head.S转交控制权给main.c?

[复制链接]
发表于 2005-9-25 16:27:26 | 显示全部楼层 |阅读模式
在head.S的pushl $_main之前有四条语句
pushl 0
pushl 0
pushl 0
pushl $L6
注释说这是main的参数。但是偶看main.c中
函数定义成void main(),也就是说,它没有参数阿?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-2 08:48 , Processed in 0.112890 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表