Difference between revisions of "84PCE:Syscalls:021DA4"

From WikiTI
Jump to: navigation, search
(Outputs)
(Outputs)
Line 16: Line 16:
  
 
=== 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 19:05, 4 May 2015

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