Ask Question
8 March, 21:04

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

+5
Answers (1)
  1. 8 March, 21:25
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers