Date: Thu, 21 Nov 1996 19:23:45 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, Christian.Gusenbauer@utimaco.co.at Cc: Christian.Gusenbauer@safeconcept.utimaco.co.at, freebsd-current@freebsd.org, joerg_wunsch@uriah.heep.sax.de Subject: Re: cdrom boot? Message-ID: <199611210823.TAA09799@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> ; Offsets are relative to sp so they are only easy to use on x86's >> ; for x >= 3. >> mov ax,_main.argc[sp] This actually needs to use esp, since [sp] doesn't work on any x86. Clear the high 16 bits of esp before using it and pray that interrupt handlers don't change them. >> >Does bcc support 32bit pointers/addresses (like >> >the 'far' masm statement)? >> >> No. It only supports pure tiny and small models. > >So I have to generate the 32bit asm 'by hand' using 'db' statements. I meant that the compiler doesn't support it. The assembler supports all modes. >How about libraries? Is it possible to link DOS libs and/or obj files? No. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611210823.TAA09799>