找回密码
 注册
查看: 1399|回复: 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, 2025-2-6 02:02 , Processed in 0.062408 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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