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 the balance after one year on an investment of $20,000 earning 5.2% interest compounded annually? A. .052 B. 21,040 c. 20,000 D. 1040​
2. What is the definition of a relation?
Yeast match the following
A teapot is 13 full of tea. When all of the tea is poured into an empty container, the container is 23 full. What fraction of the tea from a full cup is needed
PLZZZZZZ HELPPPP!!!!!!!!!!!!!!Which of the following sequences are arithmetic? Select all that apply. A. 4, 14, 24, 34, … B. 9, 5, 1, −3, … C. 1.1, 1.2, 1.3, 1.
(NEED IT FAST) Clarke makes 27 party favors in 4 hours. Carolynn makes 35 party favors in five hours. Who is faster? What is the difference in hourly rate betwe
Jordan wants to see if earthworms prefer rough or smooth terrain to crawl through. What will be his independent variable? This is what he will change in his exp
pls help me how do I write 20,484,163 in expanded form I'm only in 2nd grade
When information is applicable and useful for the task at hand, it is considered to be
identify words with positive and negative connotationplease help i will mark as brainlyst​