I know that there many questions about ABI on here but it's still something that I don't fully understand.
Someone told me recently that when people used to write Pascal and then C became more popular, there were issues or confusion because Pascal when compiled would push function parameters on the stack in the reverse order to C. I questioned that should that not depend on the target platform rather than the program language. Is it not the ABI that would determine this? Isn't the ABI developed by the Operating System developers and not dependant on the programming language?
Sorry if the question is long. It's just something I can't get my head around. I'm trying to understand fully what goes on behind the scenes rather than just being able to write code. Thanks in advance for any help.