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

Your parents took your family out to dinner. They gave the waiter a 15% tip. Of the bill was $42, how much was the tip
"His Majesty is a sovereign monarch, who need not account to his actions to anyone on earth, but, as a Christian sovereign, has the power and authority to gover
The purpose of Title IX was to correct in education. Title IX encouraged university for women in sports.
What is the velocity of an object whose kinetic energy is 100j and mass is 8kg?
Explain how a person can become dependent on an addictive drug or behaviour.
substitution x+3y=-4 2x+6y=5
can 41 7 and 35 form a triangle
help me out with this ​
have a great day and help pleaseee
1. A person flies from one continent to another. Unknowingly, he boards the plane with a few seeds attached to the laces of his hiking boots. As he is hiking at