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:
Business Economics Assignment 3: Case Study Analysis on Price Controls in Pharma and Monopoly Power in Airline Industry
Read MoreCSC408 MIS Case Study Assignment Report: Analysis of Issues and Solutions in Information Systems
Read MoreScientific Research Review Assignment 4: Advancements and Ethical Practices in Your Study Area Literature Synthesis
Read MoreOrganizational Development Assignment: Tech Solutions Inc. Case Study on Engagement, Retention, and Inclusive Culture
Read MoreHPGD3103 Instructional Technology Assignment: ASSURE Model-Based Lesson Design in Google Classroom
Read MoreAI Deepfake Cybersecurity Assignment: Evaluating Security Risks and Detection Techniques for Safe Digital Environments
Read MoreMGT4216E Strategic Innovation Management Assignment: Exploring Innovation Capabilities, Strategy Stages, and Leadership for Business Transformation
Read MoreEmployee Engagement & HR Strategy Assignment: Case Analysis of Tech Solutions Inc. on Turnover, D&I, Performance, and Work-Life Balance
Read MoreHigher Education Reform Assignment: Curriculum Development Strategies for a Future-Ready Malaysia
Read MoreCross-Cultural Management Assignment Report: Importance, Challenges & Strategies in Global Teams
Read More