Difference between revisions of "84PCE:Syscalls:021DA4"
From WikiTI
(→Outputs) |
|||
Line 9: | Line 9: | ||
=== Inputs === | === Inputs === | ||
− | HL | + | * HL: value |
− | + | * DE: value to compare | |
− | DE | + | * BC: value to compare |
− | + | ||
− | BC | + | |
=== Outputs === | === Outputs === | ||
− | IF((HL <= BC) && (HL <= DE)) - C flag set | + | * IF((HL <= BC) && (HL <= DE)) - C flag set |
− | + | * IF((HL > BC) && (HL > DE)) - C flag reset | |
− | IF((HL > BC) && (HL > DE)) - C flag reset | + | |
=== Destroys === | === Destroys === | ||
* None | * None |
Revision as of 12:21, 26 May 2015
Contents
Synopsis
Hypothesized Official Name: cpHLDEBC
Syscall Address: 021DA4h
Compares the value in HL to both DE and BC.
Inputs
- HL: value
- DE: value to compare
- BC: value to compare
Outputs
- IF((HL <= BC) && (HL <= DE)) - C flag set
- IF((HL > BC) && (HL > DE)) - C flag reset
Destroys
- None