Difference between revisions of "83Plus:BCALLs:8078"

From WikiTI
Jump to: navigation, search
 
m (Inputs)
Line 11: Line 11:
 
=== Inputs ===
 
=== Inputs ===
 
* DE = field to search for
 
* DE = field to search for
* HL = address to start looking (the first byte of a field, which will not be returned
+
* HL = address to start looking (the first byte of a field, which will not be returned)
  
 
=== Outputs ===
 
=== Outputs ===

Revision as of 17:40, 29 March 2005

Synopsis

Official Name: FindNextCertificateField

BCALL Address: 8078

Searches for a given field in the certificate.

Inputs

  • DE = field to search for
  • HL = address to start looking (the first byte of a field, which will not be returned)

Outputs

  • HL = address of the next matching field
  • NZ set if not found.

Destroys

Comments

Flash must be write enabled first.

Example

 ld de,0300h
 B_CALL FindFirstCertificateField
 jr nz,done
loop:
 B_CALL FindNextCertificateField
 jr z,loop
done: