Date : Sun, 09 Jun 2013 14:03:30 +0100
From : dl.harper@... (David Harper)
Subject: 16-bit x86 assembler
Use Eric Isaacson's A86/D86 for this. It is very easy to use and gives
16-bit code.
Older versions were shareware. Current versions are available at:
http://www.eji.com/a86/
David Harper
On 9/6/13 13:22, J.G.Harston wrote:
> I'm recreating the source for the 80x86 CoPro client ROM[1]. I was
> using the 80x86 assembler in BBC BASIC for Windows, but as it's a 32-bit
> assembler it emits 32-bit opcodes to run in a 32-bit environment, for
> instance:
>
> mov bx,&0033 gives 66 BB 33 00
>
> instead of what I require:
>
> mov bx,&0033 gives BB 33 00
>
> changing register names to ebx, etc., gives the correct opcodes for
> register-to-register operations, but the above then gives the 32-bit
> sequence:
>
> mov bx,&0033 gives BB 33 00 00 00
>
> The source is too big to load into DOS BBC BASIC which has a 16-bit
> assembler. Are there any 16-bit x86 assemblers that people could
> recommend, either to run on RISC OS or DOS/Windows? Ta.
>
> [1]http://mdfs.net/Software/Tube/80186/v100.src
>