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