Watcom 1.9 stack corruption after return from function (Developers)
> 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:
- Watcom 1.9 stack corruption after return from function - bencollver, 05.07.2026, 01:12 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Watcom 1.9 stack corruption after return from function - jadoxa, 05.07.2026, 04:18
- Watcom 1.9 stack corruption after return from function - bencollver, 05.07.2026, 05:09
- Watcom 1.9 stack corruption after return from function - Rugxulo, 05.07.2026, 07:10
- Watcom 1.9 stack corruption after return from function - jadoxa, 05.07.2026, 08:21
- Watcom 1.9 stack corruption after return from function - bencollver, 05.07.2026, 15:24
- Watcom 1.9 stack corruption after return from function - bencollver, 05.07.2026, 05:09
- Watcom 1.9 stack corruption after return from function - jadoxa, 05.07.2026, 04:18
Mix view