Can any one help me to convert a string from upper case to lower case - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Can any one help me to convert a string from upper case to lower case

I need help about convert a string from upper case to lower case in PIC. can any one help me plz.

Comments

  • anthrax11anthrax11 Posts: 511Member
    I don't know PIC assembly very well, but the basic idea is that you first check if a character is upper case ('A'-'Z' or 65-90 in decimal) and if it is, set the fifth bit to make it lower case. You can use the bsf instruction to do this.
Sign In or Register to comment.