Printing Memory Maps in Binary

Project management tasks (MT)

MT 1. (5 points) Port the project from the demo project of lctr 4 to a new project in the folder of
cec32x_proj/cec320ws_dc–ws1_memory_maps_in_binary
where cec32x_proj can be in your C drive or in your cloud drive.
Note that you only need to copy the source folder and the two mandatory project management
files.
•proj_management.uvoptx (the project options file)
•proj_management.uvprojx (the project file)
Open the project in Keil by clicking the project file. Change the name of the executable file to
cec320ws-dc–ws1-memory-maps-in-binary . This can be done by clicking the Options for
Target. . . button in the edit mode of Keil and then change the Name of Executable: in the
Output tab of the pop up window.
For more information, see cec320ws-bc–ws0-running-a-sim-program-in-keil.
Build the project. It should run without any problem. If you have issues, please ask around.
MT 2. (15 points) Move the library files to the common library folder
C:/proj_arm/_lib/ece32xlib
We need to cut the two library files, binary_o.c and binary_o.h , from the source folder
of the project and paste them to the above library folder.
Now, we need to remove the binary_o.c file from the project’s Source Group 1 and reinclude it
from the library folder. See cec32x-devtool-fc–creating-keil-sim-proj-from-template for more details.

Next, include the path of the library folder in the project management file so that the header file

can be found. This is done in the Options for Target . . . window which can be brought out by
clicking Options for Target » C/C++ tab. Now click the . . . icon after Include Paths to
bring out the Folder Setup window. Now, click the New (Insert) icon and click the . . . icon
and browse to the C:/proj_arm/_lib/ece32xlib folder in the pop up window. Follow the hint
to select the folder.
Build the project. It should run without any problem. If you have issues, please ask around.
Programming tasks (PT)
(60 points total) There are a number of tasks here in sequence, each is in the form of an function
with related calling in the main function so that these functions will be executed. Make sure to
build and run the program after each Task so that you don’t accumulate troubles to
the end when it is too late to correct them.
PT 1. (10 points) Initialize an uninitialized array.
In project cec320lctr_dc–lctr3_data_types_n_memory_maps, we have defined a global uninitial-
ized array. We have also assigned values to this array. Now, in this project, we do the following
changes.
•Change the name of this array to arr_8bit with a size of 16, which is defined as N
using #define .
•Define a pointer to uint16_t named parr_16bit and assign the address of arr_8bit
to it. Note that you may have to use type casting during the assignment.
•Change the function used to initialize the 8-bit array so that the values are assigned using
*(arr8 + i) = i << 2;
in the loop, where arr8 is defined below in the prototype:
void assign_values_to_8bit_arr(uint8_t *arr8, int n);
When you call this function in main, use the following arguments: arr_8bit and N .
PT 2. (20 points) Program a function to display the 8-bit binary memory map for array arr_8bit
displayed in one column as shown in Figure 1. Note that you need to add a twist; for the first line
of the print out, it should read
8-bit memory map of arr_8bit in one colunm (by xyz):
where xyz is your initials. Use the same twists in the functions of the tasks below as well. Note
also that you can use a prototype like the following:
void print_bin_memory_map_8bit_1c(uint8_t *arr8, int n);
Use the same arguments as PT 1 when you call this function.

Program a function to display the 8-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 2 with the same twist as in PT 2. Note
that you can use a prototype like the following:

Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .Program a function to display the 16-bit binary memory map for array
arr_8bit displayed in one column as shown in Figure 3. Note that you can use a prototype like
the following:
void print_bin_memory_map_16bit_1c(uint16_t *arr16, int n);
When you call this function in main, use the following arguments: parr_16bit and N .




Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Ace Writing Center has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.

Essays

Essay Writing Services

At Ace Writing Center, Nowadays, students normally have extremely busy schedules. You will note that some of them have to take on some evening or weekend jobs in order to get some income that can help them to sustain in college or in the university. This can deny them a chance to write all the essays given. Others usually get bombarded with a lot of work by their lecturers. This can still delay such students from working on all their essays. However, some of them usually try to work on all these essays but end up delivering their work late. This can prevent them from graduating since most lecturers are strict on deadlines. If you want to write a business essay, the wise way is to hire an outstanding essay writing service like us, so that you can get the best results. If you are keen, you will note that many companies usually overcharge their customers. Some of them are there only to make money. And in reality, they really don’t care to build a long term commitment with students. You should not choose such companies. You should take your time and choose a reliable company to work with. Ace Writing Center is the ultimate solution for you. We have been offering our writing service for more than 7 years. This is a clear indication that you will get quality essay writing service. We have a wide range of writers who can work on any business essay that you might have. We believe in doing extensive research so that we can provide quality work to all our clients. .

Admissions

Admission and Business Papers

Have you ever had to write an admission essay for college? The majority of students face the same issues when applying to a university or college and many in such situations decide they need professional help to cope with this matter. They get in a situation when the deadline keeps coming closer but lack motivation to start because they are just not sure if their writing skills are strong enough. We have a solution for you! Ace Writing Center is the best admission essay writing service with a large professional team and years of experience in providing high-quality papers to students of all levels and faculties. The mission of our team is to help students make their dreams of entering a good college come true and that’s what we offer!.

Editing

Editing and Proofreading

Sometimes all the words for your paper just flow out of your mind and into your fingers. You type quickly at your keyboard and there they are, your beautiful words right there on the screen. But you have no idea how to polish it up. You may be wishing there was a paper writing service that offered this type of writing service. Look no more! Here at Ace Writing Center, we offer you an editing and proofreading option that you can't find anywhere else..

Coursework

College Essay Writing

In case you are familiar Ace Writing Center, you know the way to distinguish a better company from a cheap one exactly. First of all, poor service website does not have a sufficient support. We think support team is an essential part of success; it has to answer all clients’ questions and be a connecting link between clients and their writers. On our web-service you will get answers about anything you need and your writer will receive all your instructions, assignments and requirements exactly and swiftly. A writing service that we run has got a flexible pricing system that will save you from senseless wastes and many bonus systems that let you sparing money for something important for you.