84PCE:Syscalls:000144

From WikiTI
Revision as of 09:54, 12 April 2016 by MateoConLechuga (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: idvrmu

Syscall Address: 000144h

Performs a 24 bit unsigned division operation of HL/BC, and outputs a remainder.

Inputs

  • HL: 24 bit dividend
  • BC: 24 bit divisor

Outputs

  • DE: 24 bit result of HL/BC
  • HL: Remainder

Registers Used

  • None