Difference between revisions of "84PCE:Syscalls:021D98"
From WikiTI
(→Outputs) |
|||
Line 9: | Line 9: | ||
=== Inputs === | === Inputs === | ||
− | HL | + | * HL: value |
− | + | * DE: value to compare to | |
− | DE | + | |
=== Outputs === | === Outputs === | ||
− | Z flag set if HL == DE | + | * Z flag set if HL == DE |
− | + | * C flag set if HL <= DE | |
− | C flag set if HL <= DE | + | * C flag reset if HL > DE |
− | + | ||
− | C flag reset if HL > DE | + | |
=== Destroys === | === Destroys === | ||
* None | * None |
Revision as of 11:21, 26 May 2015
Contents
Synopsis
Hypothesized Official Name: cpHLDE
Syscall Address: 021D98h
Compares HL to DE in 24-bit.
Inputs
- HL: value
- DE: value to compare to
Outputs
- Z flag set if HL == DE
- C flag set if HL <= DE
- C flag reset if HL > DE
Destroys
- None