This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6678汇编出栈入栈



我现在有一个特殊应用需要通过汇编语言编写出栈函数,通过测试发现出栈的大小(即B15加的字节数)与入栈时压栈的大小有关,但是函数入栈大小与入参的个数、入参的类型甚至编译器优化开的优化级别都有关系。因此想问一下是否有关于类似编译器或者堆栈的文档,或者编译器自动压栈个数所依据的规则是什么样的。望解答,谢谢!