If a microcontroller has a memory array with 200 separately
If a microcontroller has a memory array with 200 separately addressable memory locations, where each can store 12 bits, how many bytes of data docs the memory contain? How many bits arc required to address this memory (show your work/reasoning)? List all the devices you can find in your home that contains some microprocessor or microcontroller digital system. Show how the following instructions are computed in the PIC CPU (show the work numerically in binary-): mov l w 0 times FF add l w 0 times 33 Where is the final answer stored? What is this value in decimal?
Solution
Given 200 separately addressable memory locations and
each can store 12 bits
so = 200*12 = 2400 bits
memory in bytes = 2400/8 =300 bytes
bits required to address this memory is 1024*8*200 = 1638400 bits
