Difference between revisions of "84PCE:Syscalls:021D90"

From WikiTI
Jump to: navigation, search
(Created page with "DivHLByA 021D90 - DivHLByA == Synopsis == '''Hypothesized Official Name:''' DivHLByA_s '''Syscall A...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
[[Category:84PCE:Syscalls:By Address|021D90 - DivHLByA]]
 
[[Category:84PCE:Syscalls:By Address|021D90 - DivHLByA]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' DivHLByA_s
+
'''Hypothesized Official Name:''' DivHLByA
  
 
'''Syscall Address:''' 021D90h
 
'''Syscall Address:''' 021D90h
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
* HL = 24-bit dividend
+
* HL: 24-bit dividend
* A = 8-bit divisor
+
* A: 8-bit divisor
  
 
=== Outputs ===
 
=== Outputs ===

Latest revision as of 11:23, 26 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