Difference between revisions of "84PCE:Syscalls:000144"

From WikiTI
Jump to: navigation, search
(Created page with "idvrmu 000144 - idvrmu == Synopsis == '''Official Name:''' idvrmu '''Syscall Address:''' 000144h P...")
 
 
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
* HL: 24 bits Dividend
+
* HL: 24 bit dividend
* BC: 24 bits Divisor
+
* BC: 24 bit divisor
  
 
=== Outputs ===
 
=== Outputs ===

Latest revision as of 09:54, 12 April 2016

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