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

During chemical reaction 7.55gKI and 9.06g were allowed to react. How many grams of excess reagent are left over after the reaction is complete. Reaction: Pb(NO
Using the data provided in the tutorial below,which country won the most golden medals in the 1994 Winter Olympics?
a introduction paragraph about coal and natural gas
Write the correct poetic device in each sentences. 1. The men at the windows had not yet swooped into the Hall, like birds of prey from their high perches. what
3⋅f(−4)−3⋅g(−2)= -27
someone please help
pleaseeeeee right answer struggling
Could someone please help me with this chemistry question I will mark the correct answer as brainliest
Which effect is common in both sexual harassment and sexual assault victims
What is the equation, in slope-intercept form, of the line that is perpendicular to the line y-4 =-(x - 6) and passes through the point (-2,-2)? O y=-2x - 10 O