<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.friendos.dev/index.php?action=history&amp;feed=atom&amp;title=IA32_Manual_Conventions</id>
	<title>IA32 Manual Conventions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.friendos.dev/index.php?action=history&amp;feed=atom&amp;title=IA32_Manual_Conventions"/>
	<link rel="alternate" type="text/html" href="https://wiki.friendos.dev/index.php?title=IA32_Manual_Conventions&amp;action=history"/>
	<updated>2026-05-19T08:55:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.friendos.dev/index.php?title=IA32_Manual_Conventions&amp;diff=108&amp;oldid=prev</id>
		<title>TheCatgirls: Add to x86 category</title>
		<link rel="alternate" type="text/html" href="https://wiki.friendos.dev/index.php?title=IA32_Manual_Conventions&amp;diff=108&amp;oldid=prev"/>
		<updated>2024-12-19T15:09:27Z</updated>

		<summary type="html">&lt;p&gt;Add to x86 category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:09, 19 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Puts [[Segment Selector]] with [[Requested Priviledge Level|RPL]]=0 into the ''second'' (2, 0b10, 0x2) entry of the ''[[Global Descriptor Table|GDT]]'', with the 1 being the 4th bit aka bit 3 into the [[Code Segment Register|CS register]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Puts [[Segment Selector]] with [[Requested Priviledge Level|RPL]]=0 into the ''second'' (2, 0b10, 0x2) entry of the ''[[Global Descriptor Table|GDT]]'', with the 1 being the 4th bit aka bit 3 into the [[Code Segment Register|CS register]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:X86]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key friendos:diff::1.12:old-102:rev-108 --&gt;
&lt;/table&gt;</summary>
		<author><name>TheCatgirls</name></author>
	</entry>
	<entry>
		<id>https://wiki.friendos.dev/index.php?title=IA32_Manual_Conventions&amp;diff=102&amp;oldid=prev</id>
		<title>TheCatgirls: Initial description of some IA32 manual conventions</title>
		<link rel="alternate" type="text/html" href="https://wiki.friendos.dev/index.php?title=IA32_Manual_Conventions&amp;diff=102&amp;oldid=prev"/>
		<updated>2024-12-19T00:49:30Z</updated>

		<summary type="html">&lt;p&gt;Initial description of some IA32 manual conventions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Bit number 0 is the first, [[Least Significant Bit]].&lt;br /&gt;
Bit ranges are written inclusive. Example with [[Segment Selector|Segment Selectors]]:&lt;br /&gt;
&lt;br /&gt;
[[File:Segment_Selectors_Screenshot_01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Bit 0 is the least significant bit, bit 15 is the [[Most Significant Bit]]. Range &amp;quot;bits 3 through 15&amp;quot; ''include'' bit 3 and bit 15 and are 13 bits long, with bit 0 through 1 aka bit 0 and 1 being the [[Requested Priviledge Level|RPL]] and bit 2 (3rd bit) being the [[Table Indicator|TI]].&lt;br /&gt;
Additionally, in memory, this is stored [[Little Endian]], so the least significant half of the index + 3 bits for the flags is in the first byte and the most significant half of the index is in the second byte. &lt;br /&gt;
Do note that eg. [[NASM]] treats &amp;lt;code&amp;gt;0b&amp;lt;/code&amp;gt; as numeric literals, so it'll swap the bytes around - Thus, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mov ax, 0000_0000_0000_1000b&lt;br /&gt;
mov cs, ax&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Puts [[Segment Selector]] with [[Requested Priviledge Level|RPL]]=0 into the ''second'' (2, 0b10, 0x2) entry of the ''[[Global Descriptor Table|GDT]]'', with the 1 being the 4th bit aka bit 3 into the [[Code Segment Register|CS register]].&lt;/div&gt;</summary>
		<author><name>TheCatgirls</name></author>
	</entry>
</feed>