Difference between revisions of "83:ROMCalls:400C"
From WikiTI
(Capitalized registers) |
|||
Line 8: | Line 8: | ||
=== Inputs === | === Inputs === | ||
− | * | + | * HL = dividend |
− | * | + | * A = devisor |
=== Outputs === | === Outputs === | ||
− | * | + | * HL = quotient |
− | * | + | * A = remainder |
− | * | + | * BC, DE preserved |
− | * | + | * F destroyed |
== Comments == | == Comments == | ||
See also [[83:ROMCalls:4008|DivHLBy10]]. | See also [[83:ROMCalls:4008|DivHLBy10]]. |
Latest revision as of 13:22, 13 April 2005
Contents
Synopsis
Official Name: DivHLByA
Call Address: 400C
Divides HL by A.
Inputs
- HL = dividend
- A = devisor
Outputs
- HL = quotient
- A = remainder
- BC, DE preserved
- F destroyed
Comments
See also DivHLBy10.