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

From WikiTI
Jump to: navigation, search
(Destroys)
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|chkifBCis0]]
+
[[Category:84PCE:Syscalls:By Name|ChkBCIs0]]
[[Category:84PCE:Syscalls:By Address|021D48 - chkifBCis0]]
+
[[Category:84PCE:Syscalls:By Address|021D48 - ChkBCIs0]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' chkifBCis0
+
'''Hypothesized Official Name:''' ChkBCIs0
  
 
'''Syscall Address:''' 021D48h
 
'''Syscall Address:''' 021D48h
Line 9: Line 9:
  
 
=== Inputs ===
 
=== Inputs ===
BC - value
+
* BC: value
  
 
=== Outputs ===
 
=== Outputs ===
Z flag set if BC == 0
+
* Z flag set if BC == 0
 
+
* A holds upper byte of BC
A holds upper byte of BC
+
  
 
=== Destroys ===
 
=== Destroys ===
* A
+
* AF

Latest revision as of 11:38, 31 May 2016

Synopsis

Hypothesized Official Name: ChkBCIs0

Syscall Address: 021D48h

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

Inputs

  • BC: value

Outputs

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

Destroys

  • AF