All of lore.kernel.org
 help / color / mirror / Atom feed
* Segment override and lldt instruction
@ 2007-05-30 22:31 A D
  2007-05-31  0:45 ` Frank Kotler
  0 siblings, 1 reply; 7+ messages in thread
From: A D @ 2007-05-30 22:31 UTC (permalink / raw)
  To: linux-assembly

Hi! I have couple of questions regarding gnu assembly. I've heard the word
segment 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-06-11  5:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-30 22:31 Segment override and lldt instruction A D
2007-05-31  0:45 ` Frank Kotler
2007-05-31  1:21   ` A D
2007-06-04 23:52   ` Hendrik Visage
2007-06-11  0:33     ` A D
2007-06-11  1:14       ` Frank Kotler
2007-06-11  5:30       ` Brian Raiter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.