NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on September 16, 2005, 02:05:47 AM

Title: accepts uppercase converts it to lowercase
Post by: nobody on September 16, 2005, 02:05:47 AM
hi, i was reading through my assembly book and i wonder how would i write an assembly language program that accepts uppercase user input and converts it to lowercase.
Title: Re: accepts uppercase converts it to lowercase
Post by: nobody on September 16, 2005, 11:35:14 AM
>> You make a loop for each character in you string. If a character is between 41h (code for 'A') and 5Ah (code for 'Z') then add 20h to make it a lowercase character.

Don't multi-post forums. If you have a specific question about the answer given, then ask that.