Changes
/* 16-bit Random Number Generator using 'r' register */ changed labels, added ret
<pre>
ld h,a
add a,a
add a,a
add a,b
inc a
ld (rand8Rand8 +1),a
ld l,a ; HL now contains a random 16-bit number
ret
</pre>
[[Category:Programming]]