<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.sizecoding.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AGetting_Started</id>
		<title>Talk:Getting Started - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.sizecoding.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AGetting_Started"/>
		<link rel="alternate" type="text/html" href="http://www.sizecoding.org/index.php?title=Talk:Getting_Started&amp;action=history"/>
		<updated>2026-04-22T23:22:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.0</generator>

	<entry>
		<id>http://www.sizecoding.org/index.php?title=Talk:Getting_Started&amp;diff=849&amp;oldid=prev</id>
		<title>Maroonbells: Initial AX/BX register values</title>
		<link rel="alternate" type="text/html" href="http://www.sizecoding.org/index.php?title=Talk:Getting_Started&amp;diff=849&amp;oldid=prev"/>
				<updated>2021-06-04T19:09:29Z</updated>
		
		<summary type="html">&lt;p&gt;Initial AX/BX register values&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Initial register values AX=0000 and BX=0000 is not 100% correct. Through several DOS versions, I've observed them to be:&lt;br /&gt;
&lt;br /&gt;
AH=see explanation&lt;br /&gt;
AL=see explanation&lt;br /&gt;
BX=AX&lt;br /&gt;
&lt;br /&gt;
The value for AL is linked to the 1st command line parameter, and the value for AH is linked to the 2nd parameter.&lt;br /&gt;
The value for AL is 00 unless the 1st command line parameter begins with a path pointing to an unmapped drive letter.&lt;br /&gt;
The value for AH is created the same way, except for linking to the 2nd command line parameter instead of the 1st.&lt;br /&gt;
examples:&lt;br /&gt;
&lt;br /&gt;
program.com foo bar&lt;br /&gt;
or&lt;br /&gt;
program.com&lt;br /&gt;
&lt;br /&gt;
AX=0000 because of the 1st or 2nd command line parameters neither are/begin-with drive letters&lt;br /&gt;
&lt;br /&gt;
program.com z:&lt;br /&gt;
program.com foo z:&lt;br /&gt;
Assuming the Z drive is not mapped, the 1st example sets AX=00FF, while the 2nd example sets AX=FF00.&lt;br /&gt;
&lt;br /&gt;
In all examples, the BX register is defined to match whatever value was placed into AX.&lt;/div&gt;</summary>
		<author><name>Maroonbells</name></author>	</entry>

	</feed>