83:ROMCalls:400C

From WikiTI
Jump to: navigation, search

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.