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

From WikiTI
Jump to: navigation, search
(Outputs)
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
HL - value
+
* HL: value
 
+
* DE: value to compare
DE - value to compare
+
* BC: value to compare
 
+
BC - value to compare
+
  
 
=== 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 11:21, 26 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