Q2
Mark centre: Write a program to place a red cross in the middle of an RGB image stored in memory, as shown in figure 2. The centre of the image is define as co ordinate position (11,11). This image is stored in memory using the packed RGB data type shown in figure 3. For more information on this data type refer to practical 9. This program must be named : markCentre.asm and submitted as a plain text file.
The memory model ram 4Kx16 sim has already been configured to automatically load the tested image: bug24x24.ppm and store it at base address 1024. When your program has finished processing this image it must store the value 0x00 to address OxFFF to trigger the generation of the output image file: output.ppm.
Submission: for this question you should submit:
• markCentre.asm: a plain text file, assembly language program used to
implement the mark centre functionality. You may also submit a single macro file : simpleCPUvid.m4 if used. Any ISE schematics (.sch files) that have been modified to implement this system. Any new ISE schematics (.sch files) and symbols (.sym files) that have been created to implement this system.
• The file decoder.vhd if you have implement any new instructions.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.