Chapter eleven

Assembly language

Objectives

The objective of this chapter is that, after studying it, the reader should be able to use assembly language to write programs involving data transfers, arithmetic, logic, jumps, branches, subroutines, delays and look-up tables.

11.1 Languages

Software is the term used for the instructions that tell a microprocessor or microcontroller what to do. The collection of instructions that a microprocessor will recognise is its instruction set. The form of the instruction set depends on the microprocessor concerned. The series of instructions that is needed to carry out a particular task is called a program.

Microprocessors work in binary code. Instructions written in binary code are referred to as being ...

Get Mechatronics: Electronic Control Systems In Mechanical and Electrical Engineering, 7th Edition by Pearson 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.