Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Watcom 1.9 stack corruption after return from function (Developers)

posted by jadoxa Homepage E-mail, Queensland, Australia, 05.07.2026, 04:18

> The stack is different than it was before calling awka_insertop(), which is
> bad. SP was FCE4 and now it is FCF0.

No, that's right, as the retf 0x0c pops the six pushes of the arguments (other functions don't have as many arguments, so they're wholly passed in registers). If you're getting stack corruption, it's not because of that.

 

Complete thread:

Back to the forum
Board view  Mix view
23493 Postings in 2218 Threads, 408 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum