Difference between revisions of "84PCE:Syscalls:020140"
From WikiTI
(Created page with "DivHLBy10 020140 - DivHLBy10 == Synopsis == '''Hypothesized Official Name:''' DivHLBy10 '''Syscall...") |
Calc84maniac (Talk | contribs) (Updated inputs/outputs) |
||
Line 6: | Line 6: | ||
'''Syscall Address:''' 020140h | '''Syscall Address:''' 020140h | ||
− | Divides HL by 10. | + | Divides HL by 10 in 16-bit. |
=== Inputs === | === Inputs === | ||
− | + | * HL = 16-bit dividend. | |
=== Outputs === | === Outputs === | ||
− | + | * HL = HL/10 | |
+ | * A = remainder | ||
=== Destroys === | === Destroys === | ||
− | * | + | * None |
Revision as of 19:41, 21 March 2015
Contents
Synopsis
Hypothesized Official Name: DivHLBy10
Syscall Address: 020140h
Divides HL by 10 in 16-bit.
Inputs
- HL = 16-bit dividend.
Outputs
- HL = HL/10
- A = remainder
Destroys
- None