<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=Z80%3ADirectives%3ADW</id>
	<title>Z80:Directives:DW - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=Z80%3ADirectives%3ADW"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Directives:DW&amp;action=history"/>
	<updated>2026-05-02T15:40:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=Z80:Directives:DW&amp;diff=253&amp;oldid=prev</id>
		<title>KermMartian at 17:57, 5 February 2016</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Directives:DW&amp;diff=253&amp;oldid=prev"/>
		<updated>2016-02-05T17:57:55Z</updated>

		<summary type="html">&lt;p&gt;&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 17:57, 5 February 2016&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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;=== Brass-Specific ===&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;=== Brass-Specific ===&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;br&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Z80:Directives:ASC|.ASC]],[[Z80:Directives:ASCIIMAP|.ASCIIMAP]],[[Z80:Directives:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BINARYFILL/&lt;/del&gt;EMPTYFILL|.BINARYFILL&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EMPTYFILL&lt;/del&gt;]],[[Z80:Directives:BINARYRANGE|.BINARYRANGE]],[[Z80:Directives:DBRND/DWRND|.DBRND/.DWRND]],[[Z80:Directives:DBSIN/DBCOS/DBTAN/DWSIN/DWCOS/DWTAN|.DBSIN/.DBCOS/.DBTAN/.DWSIN/.DWCOS/.DWTAN]],[[Z80:Directives:FILLW|.FILLW]],[[Z80:Directives:INCBIN|.INCBIN]],[[Z80:Directives:INCBMP|.INCBMP]],[[Z80:Directives:INCLABELS|.INCLABELS]]&lt;/div&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;[[Z80:Directives:ASC|.ASC]],[[Z80:Directives:ASCIIMAP|.ASCIIMAP]],[[Z80:Directives:EMPTYFILL|.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EMPTYFILL]], [[Z80:Directives:&lt;/ins&gt;BINARYFILL&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BINARYFILL&lt;/ins&gt;]],[[Z80:Directives:BINARYRANGE|.BINARYRANGE]],[[Z80:Directives:DBRND/DWRND|.DBRND/.DWRND]],[[Z80:Directives:DBSIN/DBCOS/DBTAN/DWSIN/DWCOS/DWTAN|.DBSIN/.DBCOS/.DBTAN/.DWSIN/.DWCOS/.DWTAN]],[[Z80:Directives:FILLW|.FILLW]],[[Z80:Directives:INCBIN|.INCBIN]],[[Z80:Directives:INCBMP|.INCBMP]],[[Z80:Directives:INCLABELS|.INCLABELS]]&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;br&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;br&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;{{lowercase}}&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;{{lowercase}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KermMartian</name></author>
	</entry>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=Z80:Directives:DW&amp;diff=196&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Directives:DW&amp;diff=196&amp;oldid=prev"/>
		<updated>2016-02-05T17:11:35Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Inserts a word of data into the program with value defined by the input. In this case, a &amp;quot;word&amp;quot; is 2 bytes.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
    .dw n		;n is any 2-byte integer&lt;br /&gt;
    .word n&lt;br /&gt;
&lt;br /&gt;
== Uses ==&lt;br /&gt;
&lt;br /&gt;
The second easiest way to put data directly into your program. Note that since the z80 processor is little-endian, loading into a 16-bit register from 2 bytes inserted using .DB will cause the least-significant-byte and most-significant-byte to be swapped.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
=== General Directives ===&lt;br /&gt;
&lt;br /&gt;
[[Z80:Directives:DB|.DB/.BYTE]],[[Z80:Directives:BLOCK|.BLOCK]],[[Z80:Directives:FILL|.FILL]]&lt;br /&gt;
&lt;br /&gt;
=== TASM-Specific ===&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Brass-Specific ===&lt;br /&gt;
&lt;br /&gt;
[[Z80:Directives:ASC|.ASC]],[[Z80:Directives:ASCIIMAP|.ASCIIMAP]],[[Z80:Directives:BINARYFILL/EMPTYFILL|.BINARYFILL/.EMPTYFILL]],[[Z80:Directives:BINARYRANGE|.BINARYRANGE]],[[Z80:Directives:DBRND/DWRND|.DBRND/.DWRND]],[[Z80:Directives:DBSIN/DBCOS/DBTAN/DWSIN/DWCOS/DWTAN|.DBSIN/.DBCOS/.DBTAN/.DWSIN/.DWCOS/.DWTAN]],[[Z80:Directives:FILLW|.FILLW]],[[Z80:Directives:INCBIN|.INCBIN]],[[Z80:Directives:INCBMP|.INCBMP]],[[Z80:Directives:INCLABELS|.INCLABELS]]&lt;br /&gt;
&lt;br /&gt;
{{lowercase}}&lt;br /&gt;
[[Category:Z80 Assembly]]&lt;br /&gt;
[[Category:Z80 Heaven]]&lt;br /&gt;
[[Category:Z80 Directives]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>