mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-26 18:38:06 +11:00
17 lines
287 B
Plaintext
17 lines
287 B
Plaintext
|
( Borrowed from http://wikiti.brandonw.net/ )
|
||
|
( Divides AC by DE and places the quotient in AC and the
|
||
|
remainder in HL )
|
||
|
CODE /MOD
|
||
|
DE POPqq,
|
||
|
BC POPqq,
|
||
|
chkPS,
|
||
|
A B LDrr,
|
||
|
B 16 LDrn,
|
||
|
HL 0 LDddnn,
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
( cont. )
|