84PCE:Syscalls:020140: Difference between revisions

From WikiTI
Jump to navigationJump to search
Created page with "DivHLBy10 020140 - DivHLBy10 == Synopsis == '''Hypothesized Official Name:''' DivHLBy10 '''Syscall..."
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|DivHLBy10]]
[[Category:84PCE:Syscalls:By Name|DivHLBy10_s]]
[[Category:84PCE:Syscalls:By Address|020140 - DivHLBy10]]
[[Category:84PCE:Syscalls:By Address|020140 - DivHLBy10_s]]
== Synopsis ==
== Synopsis ==
'''Hypothesized Official Name:''' DivHLBy10
'''Hypothesized Official Name:''' DivHLBy10_s


'''Syscall Address:''' 020140h
'''Syscall Address:''' 020140h


Divides HL by 10.
Divides HL by 10 in 16-bit.


=== Inputs ===
=== Inputs ===
Probably HL = number. Not sure if HL is 16- or 24-bit.
* HL: 16-bit dividend.


=== Outputs ===
=== Outputs ===
Probably HL/10.
* HL = HL/10
* A = remainder


=== Destroys ===
=== Destroys ===
* Unknown.
* None

Latest revision as of 19:23, 26 May 2015

Synopsis

Hypothesized Official Name: DivHLBy10_s

Syscall Address: 020140h

Divides HL by 10 in 16-bit.

Inputs

  • HL: 16-bit dividend.

Outputs

  • HL = HL/10
  • A = remainder

Destroys

  • None