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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.