Please show the memory content in hex format starting at 0x2


Please show the memory content in hex format starting at 0x20008000. Along with answering the question. Thank you.

Solution

Each and every character takes 1 byte of address . So for String \"Cortex-m\" total character is 8 so string takes 8 bytes in the memory.

Memory Content of the String

0x20008000 (base address) or for C

0x20008001 address for \'o\'

0x20008002   address for \'r\'

0x20008003   address for \'t\'

0x20008004   address for \'e\'

0x20008005 address for \'x\'

0x20008006 address for \'-\'

0x20008007 address for \'M\'

 Please show the memory content in hex format starting at 0x20008000. Along with answering the question. Thank you.SolutionEach and every character takes 1 byte

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site