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

From WikiTI
Jump to: navigation, search
(Outputs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|cpHLDE]]
+
[[Category:84PCE:Syscalls:By Name|CpHLDE]]
[[Category:84PCE:Syscalls:By Address|021D98 - cpHLDE]]
+
[[Category:84PCE:Syscalls:By Address|021D98 - CpHLDE]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' cpHLDE
+
'''Hypothesized Official Name:''' CpHLDE
  
 
'''Syscall Address:''' 021D98h
 
'''Syscall Address:''' 021D98h
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

Latest revision as of 23:48, 25 May 2016

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