84PCE:Syscalls:021D50: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions 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 ===
* A
* AF

Latest revision as of 19: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