<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://channelf.se/veswiki/index.php?action=history&amp;feed=atom&amp;title=Data_counter</id>
		<title>Data counter - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://channelf.se/veswiki/index.php?action=history&amp;feed=atom&amp;title=Data_counter"/>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Data_counter&amp;action=history"/>
		<updated>2026-05-15T20:52:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://channelf.se/veswiki/index.php?title=Data_counter&amp;diff=7&amp;oldid=prev</id>
		<title>E5frog: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Data_counter&amp;diff=7&amp;oldid=prev"/>
				<updated>2012-11-16T21:22:46Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:22, 16 November 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>E5frog</name></author>	</entry>

	<entry>
		<id>http://channelf.se/veswiki/index.php?title=Data_counter&amp;diff=6&amp;oldid=prev</id>
		<title>Admin at 21:16, 20 November 2004</title>
		<link rel="alternate" type="text/html" href="http://channelf.se/veswiki/index.php?title=Data_counter&amp;diff=6&amp;oldid=prev"/>
				<updated>2004-11-20T21:16:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The data counter is a 16-bit [[register]] in the [[F8]] which allows access to data stored in ROM. Unlike other [[CPU]]s, like the 6502, the F8 doesn't allow you to directly load and store data into a byte in memory, using a single [[opcode]]; the F8 only provides opcodes to load and store data in memory from the address pointed to by the data counter, or '''DC'''.&lt;br /&gt;
&lt;br /&gt;
There are two DC's on the F8, called DC0 and DC1. DC1 can't be used by any opcode, but can only be switched with DC0 using '''XDC'''. This however is helpful when you want to move portions of data from one location in memory to another. To load data using the DC, you can use the opcode '''LM''', which loads a byte from memory into the [[accumulator]]. To store data, use the opcode '''ST''', which stores the accumulator into that address in memory. Alternatively, with the contents of that addres you can add, [[AND (binary)|AND]], [[OR (binary)|OR]], or [[XOR (binary)|XOR]] it with the accumulator. Each of these operations will increase DC0 when used.&lt;br /&gt;
&lt;br /&gt;
You can manipulate the address stored by DC0 by swapping it with the [[register]] Q or H, adding the contents of the accumulator to it, swapping DC0 with DC1, or loading an immediate address using '''DCI'''. And as stated before, any opcodes using the DC will increase it after it's finished.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>