Difference between revisions of "83:ROMCalls:4008"

From WikiTI
Jump to: navigation, search
(Capitalized registers, added obelus)
(Destorys section, not under outputs)
 
Line 13: Line 13:
 
* HL = HL ÷ 10
 
* HL = HL ÷ 10
 
* A = remainder
 
* A = remainder
* BC, DE preserved
+
 
* F destroyed
+
=== Destroys ===
 +
* F

Latest revision as of 18:37, 10 July 2005

Synopsis

Official Name: DivHLBy10

Call Address: 4008

Divides HL by 10.

Inputs

  • HL = number

Outputs

  • HL = HL ÷ 10
  • A = remainder

Destroys

  • F