From: Dave Bird Newsgroups: comp.os.msdos.djgpp Subject: Re: Help needed to learn ASM Date: Mon, 8 Mar 1999 03:25:00 +0000 Organization: very little Message-ID: <$DjtVJBMM042Ewm9@xemu.demon.co.uk> References: <0LebGBAgcD42EwWu AT dunvegan1 DOT demon DOT co DOT uk> <36e3787f DOT 7191289 AT 158 DOT 152 DOT 254 DOT 68> <36e2e0cd DOT 23664102 AT 158 DOT 152 DOT 254 DOT 68> NNTP-Posting-Host: xemu.demon.co.uk X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209 X-Trace: news.demon.co.uk 920895779 nnrp-04:21318 NO-IDENT xemu.demon.co.uk:158.152.196.209 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.01 Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <36e2e0cd DOT 23664102 AT 158 DOT 152 DOT 254 DOT 68>, Kevin writes >>What are the pro's and con's of using inline ASM over something like >>NASM? >I havn't a clue, I'm a complete newbie at inline assembler. This depends on whether you are trying to keep your project nicely organised within a single file, or whether you prefer it dispersed across many files with the consequent overhead of "exporting" stuff from the one file that defines it to the many files that refer it. You do avoid a lot of overhead and circumlocution for linking references between the two; and it makes life so much easier if what you have is small amounts of assem that fit integrally into the rest of the main file. The functionality coded for is exactly the same, of course. -- ^-^-^-@@-^-;-^ http://www.xemu.demon.co.uk/ (..)__u news:alt.smoking.mooses