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

From WikiTI
Jump to: navigation, search
(Synopsis)
Line 2: Line 2:
 
[[Category:84PCE:Syscalls:By Address|020140 - DivHLBy10]]
 
[[Category:84PCE:Syscalls:By Address|020140 - DivHLBy10]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' DivHLBy10
+
'''Hypothesized Official Name:''' DivHLBy10_s
  
'''Syscall Address:''' 021D90h
+
'''Syscall Address:''' 020140h
  
Divides HL by 10 in 24-bit.
+
Divides HL by 10 in 16-bit.
  
 
=== Inputs ===
 
=== Inputs ===
* HL = 24-bit dividend.
+
* HL = 16-bit dividend.
  
 
=== Outputs ===
 
=== Outputs ===

Revision as of 16:48, 4 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