On 2008-02-21, HubbleBubble <phil_simmons@[EMAIL PROTECTED]
> wrote:
I never really did this kind of $66 stuff, but I can vaguely remember that
there were two prefixes, $66 and $67, and that in general $66 evaluates to
the instruction with all parts updated to 32-bit, and $67 lets the
register
sizes remain 16-bit. (maybe with the exception of memory operands)
> DB $66
> mov ax,cx
So this would be mov eax,ecx while
db $67 mov ax,cx
would remain ax,cx
If I keep that in the back of my head, I wonder what will happen to this
line:
> DB $66
> mov si,word ptr LineOffsets[bx]
Will this also become dword ptr?
So in general I'd try to put this code in some assembler, assemble, and
then
disassemble again with a disassembler that really knows the 32-bit opcodes
and verify that what comes out of it is really what you want. (and put
that
then in comments in the TP code)
I haven't done any realmode work since I left TP in 1997-8, so don't
really
have strong recommendations, but maybe others can make suggestions about
proper tooling for


|