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

when a graphed line is vertical it indecates that the relation is?
my favourite singer has seven...the singer is a girl...she sings hello...and she starts with an A and ends with an Ewho is it?
The effective interest method of amortization is used for bond premium, the amount of interest expnese for an interest period calcualted multiply the
Pillar of New York where can i find information on this subject?
What work of science has surprised, unsettled, or challenged you, and in what way?
Who was mr. z? how did reporters and investigators react to their belief that he was mailer? what was found?
Multiply and simplify into lowest form
Who died first? julius cesar genghis khan alexander the great marie antoinette?
Civil law is to _______________ as criminal law is to crimes against the state or society.
Why was france unable to manage its debt in the eighteenth century, even though that debt was much smaller, relative to its population, than the debt of either