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

From WikiTI
Jump to: navigation, search
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By_Name|FindNextCertificateField]]
+
[[Category:83Plus:BCALLs:By_Name:Other|FindNextCertificateField]] [[Category:83Plus:BCALLs:By_Name|FindNextCertificateField]] [[Category:83Plus:BCALLs:By_Address|8078 - FindNextCertificateField]]
[[Category:83Plus:BCALLs:By_Address|8078 - FindNextCertificateField]]
+
[[Category:83Plus:BCALLs:By_Name:Other|FindNextCertificateField]]
+
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' FindNextCertificateField
 
'''Official Name:''' FindNextCertificateField
Line 11: Line 9:
 
=== 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 ===

Latest revision as of 20:34, 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: