84PCE:Syscalls:00013C

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: idivs

Syscall Address: 00013Ch

Performs a 24 bit signed division operation of HL/BC.

Inputs

  • HL: 24 bits
  • BC: 24 bits

Outputs

  • HL: 24 bit result of HL/BC

Registers Used

  • AF, DE