2020-04-22 21:19:12 -04:00
|
|
|
( Borrowed from http://wikiti.brandonw.net/ )
|
|
|
|
( Divides AC by DE and places the quotient in AC and the
|
|
|
|
remainder in HL )
|
|
|
|
CODE /MOD
|
2020-06-27 22:01:56 -04:00
|
|
|
DE POP,
|
|
|
|
BC POP,
|
2020-04-22 21:19:12 -04:00
|
|
|
chkPS,
|
|
|
|
A B LDrr,
|
2020-06-27 22:01:56 -04:00
|
|
|
B 16 LDri,
|
|
|
|
HL 0 LDdn,
|
2020-04-22 21:19:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
( cont. )
|