ctuek7664 ctuek7664
  • 25-09-2017
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 26-09-2017
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.
Answer Link

Otras preguntas

12. In the following sentence, which word is the adverb? He completely answered all of the questions before leaving the room. He completely leaving qu
What is one reason the Victorian era saw an increase in the population of theatergoers? A.Transportation systems improved. B.Shakespeare was writing plays. C
Solve the problem. eight basketball players are to be selected to play in a special game. the players will be selected from a list of 27 players. if the players
I need help with this problem. Can someone explain it to me please?
Natural numbers are part of every other category of number except
Which is a highly infectious bacterial disease of the lungs?
Which was most significant in the 2008 presidential election? A.It was the first presidential election in which a major party nominated a woma
The mood or attitude conveyed through language, particularly through word choice and sentence structure is known as
What did the emancipation proclamation do? freed all slaves in northern-controlled territory freed all slaves in states that had seceded freed all slaves in the
Help???? please please