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

From WikiTI
Jump to: navigation, search
(Outputs)
(Inputs)
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
* HL - Number
+
* HL: value
* DE - Number to compare to
+
* DE: value to compare to
  
 
=== Outputs ===
 
=== Outputs ===

Revision as of 11:19, 26 May 2015

Synopsis

Hypothesized Official Name: cpHLDE_s

Syscall Address: 021D94h

Compares HL to DE in 16-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