Task 1 [Pass criteria: P4] a) In order to explain the main instruction groups,

Task 1                                                                                                                       [Pass criteria: P4]

a)    In order to explain the main instruction groups, you are required to annotate each line of code of the program above by explaining their meaning.

b)    In addition, explain the purpose of the program sections – SETUP, ROTATE, DELAY and DIRECTION; including the role of the special function registers (SFRs) used in the program

Guidance: Take a copy of the program and paste it into your assessment answer and fill in the missing comment lines from ‘SETUP’ to ‘END’ in the same format as lines 1-3.

Checklist of evidence required: T1 – Include a copy of the program with code comments, and a 300-word report

Task 2                                                                                                                                               [P5]

a)    Rewrite the delay section of the program as a subroutine with annotations. Also show how it works by including a ‘printscreen’ of the whole program.

b)    Explain the subroutine section and state two advantages a subroutine might have over keeping the delay section within the main program

c)    Explain with the aid of a diagram how the microprocessor stack operates and its main purpose.

Guidance: Use MPLAB to check that the code ‘builds’ correctly (this will check the syntax), print-screen a copy of code and build result into your answer and also email as ‘U19A2T2.asm’. Highlight all changes to the program in red. There is no requirement to run or test the program.

Checklist of evidence required: T2 –Include copy of updated program, evidence of successful build, asm code file and a 300-word report with appropriate diagrams

Task 3                                                                                                                                               [P6]

a)    Rewrite the delay section of the program again using a built-in Timer0 function with annotations.

b)    Also explain with aid of a diagram how the timer function counts the delay, including the role carried out by 3 key SFRs used in the program (different SFRs to those in task 1)

c)    State two advantages an interrupt function might have over a subroutine

Guidance: Use MPLAB to check that the code ‘builds’ correctly (this will check the syntax), print-screen a copy of code and build result into your answer and also email as ‘U19A2T3.asm’. Highlight all changes to the program in red. There is no requirement to run or test the program.

Checklist of evidence required: T3 –Include copy of updated of program, evidence of successful build, asm code file, and a 300-word report

Task 4                                                                                                                                               [P7]

a)    From task 1 select MPLAB to build, run and test the program application.

b)    Changing the delay loop from 0X032 to 0X002 in order to speed up the process in the simulator.  Comment on your test (Watch) results explaining the values stored in the SFR and variable registers.

Guidance: To test, you will need to Take a print-screen of the simulation running and use ‘View -> Watch’ to show evidence of the operation of key variables (symbols) and SFRs such as: J&K counters, the working, status and port registers; and also email as ‘U19A2T4.asm’.

Checklist of evidence required: T4 –Include images (snip/printscreen) of your program code, and testing with appropriate watch windows, asm code file and a 100-word commentary

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!