* Reply to a message in personal_mail.
Nick Coons wrote in a message to Tom Torfs:
> GS can always be used as a general segment register, as can FS. Of course
> it requires a 386 CPU or better.
NC> Do you need an Assembler that will assemble 32-bit code, or
NC> is there some way to use FS and GS with something like A86?
These are the most important opcodes you need to know to work with FS and GS
in a 16-bit assembler:
0F A8 PUSH GS
0F A9 POP GS
0F B5 r/m LGS
64 FS: prefix
65 GS: prefix
8C r/m MOV r/m,segreg --> r/m bits 3-5 = 100 for FS, 101 for GS
8E r/m MOV segreg,r/m --> dito
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
|