X86 memory segmentation: Difference between revisions

Content deleted Content added
Real mode: specify, so as to not contradict what's below
m Practices: {{codett}}
Line 88:
== Practices ==
Logical addresses can be explicitly specified in [[x86 assembly language]], e.g. (AT&T syntax):
{{codett|movl $42, %fs:(%eax) ; Equivalent to M[fs:eax]<-42)|asm in}} [[Register Transfer Language|RTL]]
 
or in [[Intel syntax]]:
<syntaxhighlight lang="asmnasm">
mov dword [fs:eax], 42
</syntaxhighlight>