32-bit x86 assembly programming: Difference between revisions

Content deleted Content added
mNo edit summary
Fredrik (talk | contribs)
m enviroment -> environment
Line 71:
There is a ''Global Description Table'' (GDT) and a ''Local Description Table'' (LDT) that holds information about how the memory should look and behave. The GDT is pointed to by the GDT-register (GDTR) and the LDT is pointed to by the LDT-register (LDTR). The pointers to these tables are 48 bits wide, and contains two fields; A pointer to the beginning of the table (base), and a part that describes how large the table is in bytes (limit).
 
The base can be either 16- or 32-bits wide. It is only 16 bits wide when used to control a [[realmode]] enviromentenvironment.
 
To address some point in the memory, a segment register and a offset register is used. Segment registers are: