TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: FLEMMING SONDERGAARD
from: SYLVAIN LAUZON
date: 1997-05-02 23:42:00
subject: Bosskey.Asm - sysreq.asm

 > DB>     push    CS
 > DB>     pop     DS
 > DB>     mov     SS,[_SS]    ;restore them back again
 > DB>     mov     SP,[_SP]
 > DB>     ...
 > Are you sure this is safe? You are using the stack here. Not
 > good when SS
 > and SP are messed up, eh? :)
 > There's nothing wrong with:
 >          mov       ss,cs:[_ss]
 >          mov       sp,cs:[_sp]
same thing. except CS takes one byte in each.cli is also needed when exit
from an INT (some not all of them preverves flags)
special care when switching stack also.
---
---------------
* Origin: Silicon Palace {514}432-2953 Lafontaine, Qu‚bec (1:242/100)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.