Ask Question
15 February, 13:01

What bit position in an ascii code must be complemented to change the ascii letter represented from uppercase to lowercase and vice versa?

+1
Answers (1)
  1. 15 February, 13:06
    0
    Flip bit position 5 to accomplish this. This maps to hex value 0x20, where the least significant bit is assumed to be at position 0.

    Example: ascii "A" = 0x41, "a" = 0x61. 0x41 xor 0x61 = 0x20.

    You would implement a flip function by XOR'ing the character value with 0x20.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What bit position in an ascii code must be complemented to change the ascii letter represented from uppercase to lowercase and vice versa? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers