83Plus:BCALLs:8078

From WikiTI
Revision as of 21:34, 29 March 2005 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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: