84PCE:Syscalls:020144: Difference between revisions

From WikiTI
Jump to navigationJump to search
Updated inputs/outputs
No edit summary
Line 4: Line 4:
'''Hypothesized Official Name:''' DivHLByA
'''Hypothesized Official Name:''' DivHLByA


'''Syscall Address:''' 020144h
'''Syscall Address:''' 021D90h


Divides HL by A in 16-bit.
Divides HL by A in 24-bit.


=== Inputs ===
=== Inputs ===
* HL = 16-bit dividend
* HL = 24-bit dividend
* A = 8-bit divisor
* A = 8-bit divisor



Revision as of 00:47, 5 May 2015

Synopsis

Hypothesized Official Name: DivHLByA

Syscall Address: 021D90h

Divides HL by A in 24-bit.

Inputs

  • HL = 24-bit dividend
  • A = 8-bit divisor

Outputs

  • HL = HL/A
  • A = remainder

Destroys

  • None