Xref: news2.mv.net comp.os.msdos.djgpp:6810 From: robert DOT fremin AT mailbox DOT swipnet DOT se (Robert Fremin) Newsgroups: comp.os.msdos.djgpp Subject: Re: inline assmebly problem Date: Sun, 04 Aug 1996 15:42:12 GMT Organization: - Lines: 14 Message-ID: <3204c475.6668718@nntpserver.swip.net> References: <199607311747 DOT KAA27339 AT bluesky DOT com> NNTP-Posting-Host: dialup115-8-1.swipnet.se NNTP-Posting-User: 41e1c758e329b31c4d905147051ba029 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > >I didn't study your code for correctness, but yes it is true that the >compiler may modify registers between asm statements. To circumvent >this put the whole group of assembly instructions inside one asm("") >clause. > That would also help him a great deal in debugging the source later, because it would be more readable too, IMO. --- Robert Fremin ----------------------------------- --- http://bip.concept.se/user/sprite/hemsida.htm --- -----------------------------------------------------