Mail Archives: djgpp/1997/11/14/04:46:17
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>On Tue, 11 Nov 1997, Johan Levin wrote:
>
>> Allegro does it this way:
>> .byte 0x2e
>> movw ___djgpp_ds_alias, %ax
>>
>> But I'd like a neater wayt than to use '.byte'.
>> '.byte' looks like a temporary solution.
>
>It's not temporary, it *is* the solution. See section 17.2 of the DJGPP
>FAQ list (v2/faq210b.zip), it explicitely tells you to do it the Allegro
>way (unless you want to get in trouble).
I doubt. The trouble is with
mov cs:mem
not with
cs <-- separate and valid instruction
mov mem
as far as I know, and using .byte is an unnecessary complication for a
workaround that is already built-in (the separate "cs" instruction).
Is this wrong?
- Raw text -