Date: Thu, 28 Nov 1996 15:50:35 +1100 From: Bruce Evans <bde@zeta.org.au> To: Christian.Gusenbauer@utimaco.co.at, freebsd-current@freebsd.org Cc: Christian.Gusenbauer@safeconcept.utimaco.co.at Subject: Re: Dosboot and bcc Message-ID: <199611280450.PAA11335@godzilla.zeta.org.au>
index | next in thread | raw e-mail
>Now, I have problems with the as86 assembler. The DOS masm uses the >following syntax: > > mov word ptr es:[bx+4],ax > >what is the correct as86 syntax for segment prefixes? Prefixes go on separate lines: seg es mov [bx+4],ax You can use `word ptr' or better simply `word', but this is unnecessary when the operand size is unique. There are no mnemonics for operand size and address size prefixes. These are usually unnecessary. See the examples in as/asm/*. Brucehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611280450.PAA11335>
