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

From WikiTI
Jump to: navigation, search
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 ===
 
* AF
 
* AF

Revision as of 11:19, 26 May 2015

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