Re: A83: Quite + Ideas


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

Re: A83: Quite + Ideas




> Hmm, small letters are a GREAT idea...but implementation
>  could be awkward.  Perhaps a tolower() function that takes a string and
>  returns the string in lower.

hl would be loaded with the location of the string in the asm program
c would be loaded with 32

tolower:
	ld a,(hl)
	sub c
	ld (hl),a
	inc hl
	;determine if it's value is 0?
	jr z,tolower
	ret