83:ROMCalls:400C: Difference between revisions
From WikiTI
Jump to navigationJump to search
No edit summary |
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 21:22, 13 April 2005
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.