www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/18/07:00:43

From: "Greg" <GregH AT orange DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: NASM and NASM from RHIDE
Date: Sun, 18 Jun 2000 10:34:35 +0100
Organization: Customer of Planet Online
Lines: 24
Message-ID: <8ii6j4$rsu$1@news5.svr.pol.co.uk>
NNTP-Posting-Host: modem-226.cesium.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 961322404 28574 62.136.46.226 (18 Jun 2000 10:00:04 GMT)
NNTP-Posting-Date: 18 Jun 2000 10:00:04 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi... recently got NASM so that I could start writing code how its supposed
to be done = ) However I've run up against some problems:

The first is I guess a beginners problem in assembly language... I have a
function to switch to one of four screen modes... the value past to the
function is used to jump to the correct routine for each mode... this worked
fine until I added the code for the third mode... suddenly all the jumps
which were targetted at the end of the procedure generated 'Short jump out
of range' errors... what exactly IS the range? and how do I make a slightly
longer jump = )

The second question is about plugging NASM into RHIDE.  I got the info on
how to do it... just add the .ASM file and set its local options so compiler
is NASM and debugger is built in C (thats what I read anyway) Which
occasionally works... however seemingly at random it suddenly stops working
and begins to say 'unable to open output file FILE.o' or 'unable to open
input file FILE.asm'... its got me baffled anyway...

Thanks a lot

Greg
-x-


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019