GDT selector question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

GDT selector question

Post by Neo »

i getting an error when i use this Selector as the stack segment with esp=0xffffc however using esp=fffc works.
What could be wrong? What i'm trying to do is use the area below 1Mb as a stack

Code: Select all

STACK_SEL   EQU      $-gdt
   dw   0xFFFF
   dw   0
   db   0
   db   0x92
   db   0x4F
   db   0
Only Human
Therx

Re:GDT selector question

Post by Therx »

Memory between C0000 and FFFFF are ROM so can't be used.

Pete
Post Reply