Uses of low-level languages

Cards (8)

  • It is technically possible for any program to be written in a low-level language, but most programmers choose high-level languages because they are easier to write and debug.
    There are however some tasks that are better suited to a low-level language.
  • Embedded system
    A complete computer system that has a dedicated function
  • Embedded systems
    • Designed to complete a limited number of specific tasks very efficiently
    • Usually restricted by size and therefore cannot have huge processors that require cooling, or large storage devices that would add weight and heat to a system
  • The programs that run on embedded systems need to be efficient and make the best use of the processing power and memory available
  • Low-level languages
    Allow a programmer to create optimised programs for embedded systems
  • Low-level language programs are extremely efficient at completing their tasks
  • Device drivers are programs that allow a computer to interact with a peripheral, like a mouse or a printer. Operating systems install and manage device drivers for every peripheral connected to a computer.
  • Low-level languages allow precise control of a piece of hardware and that is why they are used for device drivers. A device driver written in a low-level language allows the CPU to communicate with the peripheral directly, receiving data and issuing commands quickly and efficiently.