Article View: comp.os.msdos.programmer
Article #3468Re: Problem with small graphic assembly prog.
From: MICHAEL RONN MARCELAIS
Date: Fri, 02 Oct 1992 15:28
Date: Fri, 02 Oct 1992 15:28
29 lines
1895 bytes
1895 bytes
In article <9210011152.AA19223@nettlerash.berkeley.edu>, STDN@MARIST.BITNET (Dan Newcombe) writes: |> Hi all... |> [Problems with ML program] |> |> Thanks!!! |> -Dan STDN@VM.MARIST.EDU STDN@MARIST |> |> Here's the code: |> 20E8:011C B401 MOV AH,01 Function to get a character |> 20E8:011E CD21 INT 21 Dos Interuppt |> 20E8:011F CD20 INT 20 Dos Exit Interuppt Two things: 1) Using INT20 to exit a program isn't recommended. Try using the exit procedure under INT 21. 2) Is the address of INT 20 correct (011F). If so, then it overlaps the end of the INT 21 instruction right above it. (011E+02=0120) SHould be: 20E8:0120 CD20 INT 20 Dos Exit Unteruppt [sic] -- +-------------------------------------+------------------------------+ | Mike Marcelais | mrmarcel@eos.ncsu.edu | | 356 Tucker, Box 04783, NCSU | Fourth Bryan Productions | | Raleigh, NC 27607 | #include <disclaim.h> | +-------------------------------------+------------------------------+ | if the above address bounces, then try the address below: | | mrmarcel%eos.ncsu.edu@ncsuvx.ncsu.edu | +--------------------------------------------------------------------+
Technical Details
Message-ID:
<1992Oct2.152816.12984@ncsu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!darwin.sura.net!gatech!taco!eos.ncsu.edu!mrmarcelReferences:
<9210011152.AA19223@nettlerash.berkeley.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!ukma!darwin.sura.net!gatech!taco!eos.ncsu.edu!mrmarcel From: mrmarcel@eos.ncsu.edu (MICHAEL RONN MARCELAIS) Subject: Re: Problem with small graphic assembly prog. Message-ID: <1992Oct2.152816.12984@ncsu.edu> Sender: news@ncsu.edu (USENET News System) Organization: North Carolina State University References: <9210011152.AA19223@nettlerash.berkeley.edu> Date: Fri, 2 Oct 1992 15:28:16 GMT Lines: 29