Salut Denis! :)
> registers. Anyway I've found the "big" problem, change the
> second pusha
> into a PUSH ES.
i found it too. i was waiting if you could find it too ;)
> Same thing again, but now change the first popa into a POP
> ES. Now try the
> program, it should work now, or atleast no crash.
yeah no crash since we make sure that the indos flag is checked. Omiting
this may result some bad things! I found that even just changing the border
color cause DOS to set the flag. And i was just using INT 10 (bios routine).
> Why? Well, I just doubled checked the PUSHA instruction and
> it ONLY saves
> the following registers: AX,BX,CX,DX,SP,BP,SI,DI
Me too i was wondering why ES was not saved by a PUSHA
Bye!
Sylvain.
---
---------------
* Origin: Silicon Palace {514}432-2953 Lafontaine, Qu‚bec (1:242/100)
|