[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Stack restore done by OS



Hi,

just curious, to your knowledge, what is the reason behind forcing programmer to adjust stack manually after each OS call? I mean favorite:

move.w #param,-(sp)
trap #xy
addq.l #2,sp

why last line couldn't be done in OS?

--
MiKRO / Mystic Bytes
http://mikro.atari.org