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

From WikiTI
Jump to: navigation, search
(Updated inputs/outputs)
Line 4: Line 4:
 
'''Hypothesized Official Name:''' DivHLBy10
 
'''Hypothesized Official Name:''' DivHLBy10
  
'''Syscall Address:''' 020140h
+
'''Syscall Address:''' 021D90h
  
Divides HL by 10 in 16-bit.
+
Divides HL by 10 in 24-bit.
  
 
=== Inputs ===
 
=== Inputs ===
* HL = 16-bit dividend.
+
* HL = 24-bit dividend.
  
 
=== Outputs ===
 
=== Outputs ===

Revision as of 12:43, 4 May 2015

Synopsis

Hypothesized Official Name: DivHLBy10

Syscall Address: 021D90h

Divides HL by 10 in 24-bit.

Inputs

  • HL = 24-bit dividend.

Outputs

  • HL = HL/10
  • A = remainder

Destroys

  • None