Mail Archives: djgpp/1997/12/01/21:08:32
Hello all,
I'm very confused by the 386's 16-bit & 32-bit mixing coding.
Here are some questions, please help.
(1) cs selector refers to 16-bit segment, and ds/es/fs/gs selectors to
32-bit segments (D=1), ss to 16-bit segment, how do the instructions
operate? the stack? the data?
(2) cs = 16-bit, ds/es/fs/gs = 32-bit, ss = 32-bit?
(3) cs = 16-bit, ds/es/fs/gs = 16-bit, ss = 32-bit?
(4) cs = 32-bit, ds/es/fs/gs = 16-bit, ss = 16-bit?
(5) cs = 32-bit, ds/es/fs/gs = 16-bit, ss = 32-bit?
(6) cs = 32-bit, ds/es/fs/gs = 32-bit, ss = 16-bit?
Thanks in advance.
Tan
tanph AT bj DOT col DOT com DOT cn
- Raw text -