RE: A86: ot: string comparison


[Prev][Next][Index][Thread]

RE: A86: ot: string comparison




Here are some string routines in the ROM:

_strlen equ 4957h  ;bc = length of string (hl)
_strcpy equ 495Bh  ;hl->source, de->destination
_strcat equ 495Fh  ;hl->source, de->destination
_strcmp equ 4963h  ;compare (hl) to (de), length bytes first

  Jeremy G.

> 
> (This question might belong to shell-developers, but I'll check here
> first)...
> 
> Hey, I've started developing a new shell (Linux86, looks pretty nifty so
> far), but as most people should know linux, it's mostly string 
> comparisons.
>  Does anyone just "happen" to have any string comparison ruteins (in asm)
> that might be lying around?  Any help would be greatly appreciated!
> 
> 
> -Chuck
> chuckjr@sundial.net
> 


Follow-Ups: References: