83:ROMCalls:4008: Difference between revisions

From WikiTI
Jump to navigationJump to search
Kalimero (talk | contribs)
No edit summary
 
Destorys section, not under outputs
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:


=== Inputs ===
=== Inputs ===
* hl = number
* HL = number


=== Outputs ===
=== Outputs ===
* hl = hl/10
* HL = HL ÷ 10
* a = remainder
* A = remainder
* bc,de preserved
 
* f destroyed
=== Destroys ===
* F

Latest revision as of 02:37, 11 July 2005

Synopsis

Official Name: DivHLBy10

Call Address: 4008

Divides HL by 10.

Inputs

  • HL = number

Outputs

  • HL = HL ÷ 10
  • A = remainder

Destroys

  • F