This assessment continues the work started in practical 9. When answering these questions you must use the assembler and ISE project files from the Exam folder on the VLE.
The bug trap`s functionality and accuracy are to be further improved by the addition of a camera. To implement the required bug detection algorithms a number of new software routines are required. Your task is to implement these functions. Where required new instructions and additional hardware may be added to improve processing performance. However, to ensure compatibility with other systems the following restrictions are imposed:
If a solution breaks any of these restrictions you will be awarded a zero mark for the questions affected.
You may implement any of the instructions defined in Appendix A. However, you do not need to do so to complete the programming tasks in questions 1, 2 or 4.
There are five undefined instructions that you may add to your system to improve processing performance:
The assembler has already been updated to support these new instructions and may not be altered. The addressing mode of XOP1 is undefined i.e. it can use any addressing mode that is compatible with the assembler. The addressing modes of instructions XOP2 – XOP5 are fixed and can not be changed. The functions performed by each of these instructions can be changed for each question e.g. XOP5 could implement a register addressing mode ADD instruction in one question and a register addressing mode SUB instruction in another. At the end of each question there is a description of the files that you need to submit. These files should be placed in a directory of the same name i.e. Q1, Q2, Q3, or Q4. When complete these directories should be compressed into a single file: SYS1.zip and uploaded through the submission system.
Questions
Square : write a program to draw a square in the RGB image stored in memory. The position and size of the square is fixed. The top left corner is co-ordinate (4,4), each side is 16 pixels long, alternating in colour between yellow and purple, as shown in figure 1. This image is stored in memory using the packed RGB data type shown in figure 2. For more information on this data type refer to practical 9.
2. Encrypt write a program using the base instruction-set to encrypt an RGB image using a simple block cipher i.e. you are not allowed to add new instructions to your system when implementing this solution.
3. Optimise rewrite your solution for question 2 using new instructions and hardware to improve your solution’s processing performance. Marks are awarded for:
SHN6023 : Mental Health, Resilience and Recovery Across the Life-course – Case Study Assignment
Read MoreBUS6009 : International Business Management – Written Case Report
Read MoreBUS6018 : PROJECT MANAGEMENT – PROJECT PLAN
Read MoreHCM4003 : Communication and Interprofessional Collaboration – Podcast
Read MoreQHO335 : Business Project – Critical evaluation of an organisation’s response during the cost-of-living crisis in the UK
Read MorePRM7006 : Management of Traditional Projects – PID Assignment
Read MoreBMA5108-20H : International Business – Strategic Evaluation
Read MoreCA5055 : Airline Revenue and Pricing Management – REPORT
Read MoreCA5056 Aviation Psychology and Human Factors Assignment brief
Read MoreHow can i assist with youGBEN5006 : Intrapreneurial Development – Portfolio
Read More