Difference between revisions of "83:ROMCalls:4008"
From WikiTI
(Capitalized registers, added obelus) |
|||
Line 8: | Line 8: | ||
=== Inputs === | === Inputs === | ||
− | * | + | * HL = number |
=== Outputs === | === Outputs === | ||
− | * | + | * HL = HL ÷ 10 |
− | * | + | * A = remainder |
− | * | + | * BC, DE preserved |
− | * | + | * F destroyed |
Revision as of 13:21, 13 April 2005
Synopsis
Official Name: DivHLBy10
Call Address: 4008
Divides HL by 10.
Inputs
- HL = number
Outputs
- HL = HL ÷ 10
- A = remainder
- BC, DE preserved
- F destroyed