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

From WikiTI
Jump to: navigation, search
(Inputs)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|cpHLDE_s]]
+
[[Category:84PCE:Syscalls:By Name|CpHLDE_s]]
[[Category:84PCE:Syscalls:By Address|021D98 - cpHLDE_s]]
+
[[Category:84PCE:Syscalls:By Address|021D98 - CpHLDE_s]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' cpHLDE_s
+
'''Hypothesized Official Name:''' CpHLDE_s
  
 
'''Syscall Address:''' 021D94h
 
'''Syscall Address:''' 021D94h
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
* HL - Number
+
* HL: value
* DE - Number to compare to
+
* DE: value 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_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