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

From WikiTI
Jump to: navigation, search
(Outputs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|cpHLDEBC]]
+
[[Category:84PCE:Syscalls:By Name|CpHLDEBC]]
[[Category:84PCE:Syscalls:By Address|021DA4 - cpHLDEBC]]
+
[[Category:84PCE:Syscalls:By Address|021DA4 - CpHLDEBC]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Hypothesized Official Name:''' cpHLDEBC
 
'''Hypothesized Official Name:''' cpHLDEBC
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
HL - value
+
* HL: value
 
+
* DE: value to compare
DE - value to compare
+
* BC: value to compare
 
+
BC - value to compare
+
  
 
=== Outputs ===
 
=== Outputs ===
IF((HL <= BC) && (HL <= DE)) - C flag set
+
* C flag set it (HL <= BC) && (HL <= DE)
 
+
* NC flag set if (HL > BC) && (HL > DE)
IF((HL > BC) && (HL > DE)) - C flag reset
+
  
 
=== Destroys ===
 
=== Destroys ===
 
* None
 
* None

Latest revision as of 00:48, 26 May 2016

Synopsis

Hypothesized Official Name: cpHLDEBC

Syscall Address: 021DA4h

Compares the value in HL to both DE and BC.

Inputs

  • HL: value
  • DE: value to compare
  • BC: value to compare

Outputs

  • C flag set it (HL <= BC) && (HL <= DE)
  • NC flag set if (HL > BC) && (HL > DE)

Destroys

  • None