You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Register parameters
IN:
BHL = extended pointer to first string
(B = 0 -> HL is local)
DE = local pointer to second string
OUT:
Fz = 0, strings are different
Fz = 1, strings are equal
Registers changed after return:
..BCDEHL/IXIY same
AF....../.... differentÂ
Notes
Both strings should be null-terminated. Comparison is case-dependent ('A' and 'a' are not the same).
GN_Rbe, read byte at extended address
GN_Wbe, write byte at extended address
OS_Bde, copy bytes to extended address
OS_Bhl, copy bytes from extended address