KJT_compare_strings
Created by: Administrator, Last modification: Fri 31 of Jul, 2009 (22:38 UTC)
- Name
- kjt_compare_strings
- Action
- Compares two ASCII strings
- Input Registers
- DE = address of string 1
- HL = address of string 2
- B = maximum number characters to compare
- Output Registers
- Carry flag = set if strings are the same.
- Trashes
- A
Notes:
- Both strings should be zero terminated.
- Compare will fail if string lengths are different unless count is reached first.
- Original HL/DE values are preserved.
- Up
- Kernal misc routines, Kernal