<?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%3ACHK</id>
	<title>Z80:Directives:CHK - 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%3ACHK"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=Z80:Directives:CHK&amp;action=history"/>
	<updated>2026-06-10T22:27:53Z</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:CHK&amp;diff=220&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:CHK&amp;diff=220&amp;oldid=prev"/>
		<updated>2016-02-05T17:29:32Z</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;Calculates an 8-bit checksum made up of the sum of all the data between the current instruction pointer and the specified label. Brass does not produce the same results as TASM, so this is not a recommended directive.&lt;br /&gt;
&lt;br /&gt;
    _label:&lt;br /&gt;
        .db 1&lt;br /&gt;
        .db 4&lt;br /&gt;
        .db 54&lt;br /&gt;
        .chk _label ; Has a value of 59 with Brass, 51 in TASM.&lt;br /&gt;
&lt;br /&gt;
The least significant byte is all that is used.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
    .chk [label]&lt;br /&gt;
&lt;br /&gt;
=== Allowed inputs ===&lt;br /&gt;
&lt;br /&gt;
== Uses ==&lt;br /&gt;
&lt;br /&gt;
== See Also ==&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>