<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Comments for page &quot;Math&quot;</title>
		<link>http://z80-heaven.wikidot.com/forum/t-9847133/math</link>
		<description>Posts in the discussion thread &quot;Math&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 13 Mar 2026 08:33:30 +0000</lastBuildDate>
		
					<item>
				<guid>http://z80-heaven.wikidot.com/forum/t-9847133#post-4798935</guid>
				<title>(no title)</title>
				<link>http://z80-heaven.wikidot.com/forum/t-9847133/math#post-4798935</link>
				<description></description>
				<pubDate>Sun, 18 Oct 2020 14:46:19 +0000</pubDate>
				<wikidot:authorName>megatokio</wikidot:authorName>				<wikidot:authorUserId>6940652</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>also:<br /> DEHL_div_C is broken.<br /> DEHL_times_A is broken.</p> <p>just those which i tested.</p> <p>i joined wikidot and applied for membership in Z80-heaven to corret it.<br /> yesterday i had the impression i could edit the page but today i seem to be no longer a member of Z80-heaven.</p> <p>links to this wiki can only be placed with a big warning ahead. :-(</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://z80-heaven.wikidot.com/forum/t-9847133#post-4109911</guid>
				<title>(no title)</title>
				<link>http://z80-heaven.wikidot.com/forum/t-9847133/math#post-4109911</link>
				<description></description>
				<pubDate>Sun, 06 Jan 2019 01:15:47 +0000</pubDate>
				<wikidot:authorName>Stefan Noack</wikidot:authorName>				<wikidot:authorUserId>5042604</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>There is a bug in the HL_Div_C routine that gives wrong results, for example 37901 / 149 should be 254 but the routine yields 34, fixed code below:</p> <div class="code"> <pre><code>HL_Div_C: ;Inputs: ; HL is the numerator ; C is the denominator ;Outputs: ; A is the remainder ; B is 0 ; C is not changed ; DE is not changed ; HL is the quotient ; ld b,16 xor a add hl,hl rla jr c,$+5 ; this line is missing cp c jr c,$+4 inc l sub c djnz $-9 ; this needs to be adjusted for the added code ret</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>