Write the following strings using ASCII encoding Write your

Write the following strings using ASCII encoding. Write your final answers in hexadecimal.
(a) SOS
(b) Cool
(c) boo!
Show how the strings are stored in a byte-addressable memory on a little-endian machine starting at memory address 0x00001050C. Clearly indicate the memory address of each byte.

Solution

Answet contains ASCII code and hexadecimal code is in bracket.

a) 83 79 83 (53 4F 53)

b) 67 111 111 108 (43 6F 6F 6C)

c) 98 111 111 33(62 6F 6F 21)

Write the following strings using ASCII encoding. Write your final answers in hexadecimal. (a) SOS (b) Cool (c) boo! Show how the strings are stored in a byte-a

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site