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

Y=x-4 Y=2x-3 What number should the equation y=x-4 be multiplied by to eliminate x
who did English common laws apply to​
Is 12(4x + 2) equivalent
Rudy, who has just retired from his longtime job as a corporate executive, is enjoying the freedom that his post-working years afford him, and he is spending a
If A = (9, 18) and B = (1, 12), what is the length of AB
Plz help ASAP which choice is it and why ?
why did the united state oppose the election of salvador allende?
A plant cell placed in a solution with a lower (more negative) water potential will _____. view available hint(s) a plant cell placed in a solution with a lower
GIVING THE BRAINLIEST ANSWER What is the solution to the system: y=2/3 x - 1 and y=-1/2 x + 6 -3, -6) (3, 6) (6, 3) (-6, -3)
Find the x-intercept(s) of y = 2x2 - 3x - 5. A) -5 B) 2 1/2, -1 C) 3, -5 D) 5, -1