Difference between revisions of "84PCE:Syscalls:020144"
From WikiTI
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
'''Hypothesized Official Name:''' DivHLByA_s | '''Hypothesized Official Name:''' DivHLByA_s | ||
− | '''Syscall Address:''' | + | '''Syscall Address:''' 020144h |
Divides HL by A in 16-bit. | Divides HL by A in 16-bit. | ||
=== Inputs === | === Inputs === | ||
− | * HL | + | * HL: 16-bit dividend |
− | * A | + | * A: 8-bit divisor |
=== Outputs === | === Outputs === |
Latest revision as of 11:23, 26 May 2015
Contents
Synopsis
Hypothesized Official Name: DivHLByA_s
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