9

Programming in Assembly

Chapter Outline

  • Learn programming basics for the assembly language programming and concept of using an assembler
  • Learn the programming in assembly by examples of ports, timers and delay loops
  • Learn the programming in assembly of real-time clock interrupts, PWM outputs, control of LED brightness stepper and dc motors
  • Learn programming in assembly for external interrupts and accesses and write to the memory
9.1 PROGRAMMING BASICS FOR ASSEMBLY LANGUAGE PROGRAMMING

9.1.1 Benefits of Assembly Language Program (ALP)

The following are the advantages of programming in assembly language:

  1. There is efficient use of the memory. Machine codes generated from the ALP are compact. The ALP codes need smaller memory than in machine ...

Get Microcontrollers: Architecture, Programming, Interfacing and System Design, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.