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 name of HOPBr2 ?
If 3 waves happen in 6 seconds how many happen in 1 second? How do I solve this and what's the answer?
What is 5000 in scientific notation
How did you get the answer for 6045
. In perfect capital markets, the capital structure decision is: important because it affects the cash flows to shareholders. important because debt and equity
The word part troph is the Greek root for feed. Which word means "requiring only one type of food" Select one of the options below as your answer: a. monotroph
Which of these is a typographical clue? a. a definition b. a contrast c. an italicized word d. a cause and effect
Mathew has 2148 poppies he has 200 people how many poppies dose everyone get.
The official beginning of the Great Depression was October 29 25 28 24 , 1929.
Noam Chomsky PSR stands for what