84PCE:Syscalls:020144: Difference between revisions

From WikiTI
Jump to navigationJump to search
Updated inputs/outputs
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|DivHLByA]]
[[Category:84PCE:Syscalls:By Name|DivHLByA_s]]
[[Category:84PCE:Syscalls:By Address|020144 - DivHLByA]]
[[Category:84PCE:Syscalls:By Address|020144 - DivHLByA_s]]
== Synopsis ==
== Synopsis ==
'''Hypothesized Official Name:''' DivHLByA
'''Hypothesized Official Name:''' DivHLByA_s


'''Syscall Address:''' 020144h
'''Syscall Address:''' 020144h
Line 9: Line 9:


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


=== Outputs ===
=== Outputs ===

Latest revision as of 19:23, 26 May 2015

Synopsis

Hypothesized Official Name: DivHLByA_s

Syscall Address: 020144h

Divides HL by A in 16-bit.

Inputs

  • HL: 16-bit dividend
  • A: 8-bit divisor

Outputs

  • HL = HL/A
  • A = remainder

Destroys

  • None