Preview

Unit 59 Assignment 3

Good Essays
Open Document
Open Document
645 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unit 59 Assignment 3
Unit 59-Assignment 3
Task 1
The process of how the subroutine works within an operating environment is as follows. While the main part of the program is running, there will be a call command sent to the CPU to tell it to stop wherever the program is at, store the W, Z and status along with where in the main program the CPU is at in the stack. Then the main program is cleared from memory and the subroutine is loaded for the CPU to start processing the code. Once the subroutine has finished, the subroutine code is deleted from memory and the CPU will load up the main program back on and will retrieve from stack the stored information (W, Z and status) which will allow the CPU know exactly where it needs to start from.
What a program stack does is simply stores
…show more content…
Here below is a screenshot of a program created in flow code that uses macros (meaning that you don’t need to repeat yourself) along with a simulation/real hardware to show that this code works.

Task 4
Using the code idea from task 3, this one uses an interrupt to further improve and optimise the code so it can as efficient as possible.
An interrupt is used when you want to quickly get the chips (CPU) attention at hardware level for a short amount of time when the value set has been meet (this is great as this removes barriers as stated on matrixtsl.com, you can with your program wake the controller when it’s in a low power state which you can’t do at software level). An interrupt works when you are running a program on an endless loop and meets a certain condition set in the program, this triggers the interrupt which will tell the CPU at hardware level (quicker than software level) to go to the sub program and once finished processing the sub-program, it will return back to the main program.

You May Also Find These Documents Helpful

  • Powerful Essays

    Unit 9 Assignment SC121

    • 907 Words
    • 9 Pages

    a. Values of maximal depolarization of membrane potential (mV) at different stimulation voltages, by location.…

    • 907 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    unit 5 assignment1

    • 309 Words
    • 2 Pages

    What type of install is the cable going into? Is everything in a fixed position? If you have an install where items are moved around without being disconnected, using highly flexible cable is necessary. Cables in these scenarios need to be flexible to meet those demands of mobility, and also for the life of the wire so that it does not crack, break, fray or short. We had a job at a university where we moved flat panels on a track system to create different screen sizes, and for that we had to make sure the cable would meet the demand.…

    • 309 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 344 Words
    • 2 Pages

    * The onsite updates the responsibility of the onsite IT team, and ultimately the IT supervisor. The responsibility of the restore includes the same people plus the OK from management. All parties need to be kept updated with current…

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit 7 assignment 1

    • 431 Words
    • 2 Pages

    7. Convert the While loop in the following code to a Do-While loop: int x;…

    • 431 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 469 Words
    • 3 Pages

    For this video, I have learned the name of the process I have used to repair applications.…

    • 469 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 9 Assignment 1

    • 113 Words
    • 1 Page

    Baldeo Persaud NT 1330 Unit 9 Assignment 1 During the design phase: Define the scope of application of Group Policy. Determine the policy settings that are applicable to all corporate users. Classify users and computers based on their roles and locations. Plan desktop configurations based on the user and computer requirements.…

    • 113 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Unit 7 Assignment 1

    • 261 Words
    • 2 Pages

    2. A pretest loop is a loop tests the conditions before performing the iteration. A posttest loop performs the iteration then test the condition.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 9 Assignment 1

    • 582 Words
    • 2 Pages

    The PKI must go through a formal certification and accreditation (C&A) process before it can be deployed in Quality Medical Company (QMC) operational environment. An independent Third Party must certify all (HIPPA) PKI systems. We will use system certification as a formal procedure for testing security safeguards in the computer system or major application to determine if they meet applicable requirements and specifications outlined.…

    • 582 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Unit 6 Assignment 1

    • 417 Words
    • 2 Pages

    Extended Service Set: A wireless LAN in which all devices communicate through one wireless access point at a time, but the wireless LAN has at least two access points that cooperate to create the single wireless LAN.…

    • 417 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Unit 4 Assignment 2

    • 717 Words
    • 3 Pages

    The purpose of this policy is to define standards for connecting to Richman investment’s network from any host. These standards are designed to minimize the potential exposure to Richman investments from damages which may result from unauthorized use of Richman investments resources. Damages include the loss of sensitive or company confidential data, intellectual property, damage to public image, damage to critical Richman investments internal systems, etc.…

    • 717 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 2 Assignment 2

    • 299 Words
    • 1 Page

    The evolution of the Ethernet standards will have a large effect on data storage requirements. As the speeds of these connections continue to increase, users and businesses will be able to transfer larger files faster and will required larger data storage to accommodate the increased demand of resources. Thirty years ago, when the standard was only 10MB, there was nowhere near the need for the data storage capacity as there is today, with the current standard being 100 Gbit, with 1 Tbit on the way. Data storage wasn’t as high in demand before because it would take an extremely long amount of time to transfer large files, but as the speed increases, so will the demand.…

    • 299 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Unit 27 Assignment 2

    • 1429 Words
    • 10 Pages

    Unit 27 ­ Assignment 2 Environmental Potential risks identified area of concern Loose wires Slippery floors Over crowding…

    • 1429 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Unit 15 Assignment 2 D1

    • 320 Words
    • 1 Page

    All of this show inter-agency planning is extremely important to public services when they are responding to major incident, it also allows the public services to respond to the incident efficiently and effectively because of this it mean that I could mean more life’s are saved and prevent any further escalation of the incident…

    • 320 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    unit 3 assignment 4

    • 4187 Words
    • 14 Pages

    It is not only individuals in the consumer marketplace that have the potential to buy, as buyers also exist in the business to business market. B2B markets are individuals that have the responsibility of purchasing on behalf of the business. Cadbury have both individual and business to business consumers. They trade with all major supermarkets and superstores, but also sell to local and private shops. This way they can broaden their distribution and reach customers and consumers everywhere.…

    • 4187 Words
    • 14 Pages
    Powerful Essays
  • Better Essays

    Unit 009 Assignment 1

    • 1613 Words
    • 7 Pages

    I tend to use a variety of different teaching strategies. Reece and Walker (2006:101) state that “the choice of teaching strategy is often related to your own individual style and what makes you feel most comfortable in doing. However, there are some overall rules that you may like to consider. The first is the type of objective that you want your students to achieve. The second is the number of students you have to teach”.…

    • 1613 Words
    • 7 Pages
    Better Essays