flat assembler
Message board for the users of flat assembler.

flat assembler > OS Construction > Whether the stack is 16-bit in the protected mode?

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 286
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
What he depends on whether the stack is 16-bit in the protected mode?
So far I dealt only with the 32-bit stack. I zeroed in the descriptor table bit B of the stack selector but still the INT instruction is putting the 32-bit return address instead of 16-bit.
Code:
StackSel dw $FFFF,0,9200h,10h    

_________________
smaller is better
Post 12 May 2016, 17:46
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.