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

From WikiTI
Jump to: navigation, search
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
HL - value
+
* HL: value
  
 
=== Outputs ===
 
=== Outputs ===
Z flag set if HL == 0
+
* Z flag set if HL == 0
 
+
* A holds upper byte of HL
A holds upper byte of HL
+
  
 
=== Destroys ===
 
=== Destroys ===
 
* AF
 
* AF

Revision as of 11:20, 26 May 2015

Synopsis

Hypothesized Official Name: ChkHLis0

Syscall Address: 021D50h

Checks if the 24-bit value in HL is 0.

Inputs

  • HL: value

Outputs

  • Z flag set if HL == 0
  • A holds upper byte of HL

Destroys

  • AF