Unofficial Name: FindSubField
BCALL Address: 805D
Search for a subfield of the given field.
- AHL = address of the first type byte of the field whose contents you want to search
- DE = field to search for (e.g. 0A10 to search for the calculator ID)
- HL = address of the first type byte of the first matching field
- NZ set if not found.
This routine is much like the other field search routines, but starts by skipping to the data section of the given field, and continues from there.
It does not keep track of whether the "subfield" is actually within the parent field; it simply stops when it reaches FF.
See FindGroupedField for an example.