Difference between revisions of "84PCE:Syscalls:021DA4"
From WikiTI
(→Outputs) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:84PCE:Syscalls:By Name| | + | [[Category:84PCE:Syscalls:By Name|CpHLDEBC]] |
− | [[Category:84PCE:Syscalls:By Address|021DA4 - | + | [[Category:84PCE:Syscalls:By Address|021DA4 - CpHLDEBC]] |
== Synopsis == | == Synopsis == | ||
'''Hypothesized Official Name:''' cpHLDEBC | '''Hypothesized Official Name:''' cpHLDEBC | ||
Line 9: | Line 9: | ||
=== Inputs === | === Inputs === | ||
− | HL | + | * HL: value |
− | + | * DE: value to compare | |
− | DE | + | * BC: value to compare |
− | + | ||
− | BC | + | |
=== Outputs === | === Outputs === | ||
− | + | * C flag set it (HL <= BC) && (HL <= DE) | |
− | + | * NC flag set if (HL > BC) && (HL > DE) | |
− | + | ||
=== Destroys === | === Destroys === | ||
* None | * None |
Latest revision as of 00:48, 26 May 2016
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
- C flag set it (HL <= BC) && (HL <= DE)
- NC flag set if (HL > BC) && (HL > DE)
Destroys
- None