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

what is 940 divided by 58 please help I'm doing my brothers homework xD
What is 940 / 58???????????
Which is the best example of a primary source document useful in the study of history? A. a documentary with expert analysis of the event in question B. a peer-
Greta uses 3 cups of pasta for every 3/4 cup of sauce. How much pasta does she use per cup of sauce
49,321.0594 which is in the tenths place
Identify the mood of the following sentence go home
which statement about short story is most true
Fossil fuels are made by the decay of living things. Because living things are always dying and decaying, why are fossil fuels not a renewable source of energy?
how are history and geography linked
What choices does martin luther king made