On Apr 27, 10:49 pm, ArarghMail804NOSPAM <spamt...@[EMAIL PROTECTED]
> wrote:
> On Sun, 27 Apr 2008 04:03:20 -0700 (PDT), "Alexei A. Frounze"
....
> >Actually, I take my words back. You can force TASM (and probably MASM
> >as well) to generate this kind of far instruction without using DB
> >0EAH,... But you need to jump through the hoops.
>
> I don't think I ever got any version of MASM to generate the correct
> code without using the db method. :-) At least, not in a single
> source file. It should be possible with multiple sources, but then
> the linker will probably gag. :-)
If you take out PUBLIC from the declaration of CODE8 segment in my
example, it will assembly with MASM 6.14 and have the far jump with
opcode 0EAH.
Yeah, not everything's the same in TASM and MASM and many things
unless you know come with trial and error.
Alex


|