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

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

Synopsis

Hypothesized Official Name: cpHLDE

Syscall Address: 021D98h

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