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

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

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