Hi! I have couple of questions regarding gnu assembly. I've heard the wordsegment override. Where segment register can be manually overriden. so how can i
override say ds register? can segment register be overriden to my preferred memory address location? mov $0xf800, %ax mov %ax, %es mov %ds, %bx But I get segmentation fault error. How can i do it without error?Also I was looking at the function of lldt instruction. The manual says that:
"The source operand (a general-purpose register or a memory location) contains a segment selector that points to a local descriptor table (LDT)." How can one make segment selector point to ldt? Thanks for your time. _________________________________________________________________New Windows Live Hotmail is here. Upgrade for free and get a better look. www.newhotmail.ca?icid=WLHMENCA150
- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: Segment override and lldt instruction
- From: Frank Kotler
- Re: Segment override and lldt instruction
- Prev by Date: Re: Segmented or Flat model
- Next by Date: Re: Segment override and lldt instruction
- Previous by thread: Segmented or Flat model
- Next by thread: Re: Segment override and lldt instruction
- Index(es):