Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:papc:chapter_6_4 [2025/05/18 18:43] – [Bit field data type] ktokarzen:multiasm:papc:chapter_6_4 [2025/05/18 19:02] (current) – [Pointers] ktokarz
Line 96: Line 96:
  
 <figure bitfieldtype> <figure bitfieldtype>
-{{ :en:multiasm:cs:bit_field_type.png?600 |Illustration of bit field data type}}+{{ :en:multiasm:cs:bit_field_type.png?300 |Illustration of bit field data type}}
 <caption>The bit field data type</caption> <caption>The bit field data type</caption>
 </figure> </figure>
Line 102: Line 102:
  
 ===== Pointers ===== ===== Pointers =====
-Pointers store the address of the memory which contains interesting information. They can point to the data or the instruction. If the segmentation is enabled, pointers can be near or far. The far pointer contains the logical address (formed with the segment and offset parts). The near pointer contains the offset only. The offset can be 16, 32 or 64 bits long. The segment selector is always stored as a 16-bit number.+Pointers store the address of the memory which contains interesting information. They can point to the data or the instruction. If the segmentation is enabled, pointers can be near or far. The far pointer contains the logical address (formed with the segment and offset parts). The near pointer contains the offset only. The offset can be 16, 32 or 64 bits long. The segment selector is always stored as a 16-bit number. Illustration of possible pointer types is shown in figure {{ref>pointertypes}}. 
 + 
 +<figure pointertypes> 
 +{{ :en:multiasm:cs:pointers_types.png?600 |Illustration of near and far pointers types}} 
 +<caption>The near and far pointers types</caption> 
 +</figure> 
 + 
 +<note> 
 +The offset is often the result of complex addressing mode calculations and is called an effective address. 
 +</note> 
en/multiasm/papc/chapter_6_4.1747593829.txt.gz · Last modified: 2025/05/18 18:43 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0