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

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

Latest revision as of 12:39, 31 May 2016

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