Mail Archives: djgpp/1997/10/06/05:05:45
Sam Davies wrote:
> I
> modify SI, DI, BP, and DS, but I push and pop all these at the beginning
> and end... Is there anything else that I could be screwing up in my
> routine that is causing this strange behavior? I don't have to save the
> other general registers, do I?
I'm sure you have to preserve
si, di, bp, ds, es (and ofcourse cs:ip & ss:sp)
I think you have to preserve
bx
I don't think you have to preserve
ax, dx, cx
I'm sure you don't have to preserve (unless your program expects
otherwise)
fs, gs
--
+----------------+
| Vik Heyndrickx |
+----------------+
- Raw text -