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

From WikiTI
Jump to: navigation, search
(Inputs)
(Outputs)
Line 13: Line 13:
  
 
=== Outputs ===
 
=== Outputs ===
Z flag set if HL == DE
+
* Z flag set if HL == DE
 
+
* C flag set if HL < DE
C flag set if HL < DE
+
* C flag reset if HL >= DE
 
+
C flag reset if HL >= DE
+
  
 
=== Destroys ===
 
=== Destroys ===
 
* None
 
* None

Revision as of 11:18, 26 May 2015

Synopsis

Hypothesized Official Name: cpHLDE_s

Syscall Address: 021D94h

Compares HL to DE in 16-bit.

Inputs

  • HL - Number
  • DE - Number to compare to

Outputs

  • Z flag set if HL == DE
  • C flag set if HL < DE
  • C flag reset if HL >= DE

Destroys

  • None