ABSTRACT

This chapter looks at how the reader can use a microcontroller/microprocessor instruction set to write simple programmes using assembly language. The structure of assembly language programmes follows the style known as linear programming. The assembly language instructions are used to manipulate the contents of the different storage areas to perform the data transfer operations and the data transform operations. High-level programming language isolates the execution semantics of computer architecture from the specification of the programme, making the process of developing a programme simpler and more understandable. “High-level language” refers to the higher level of abstraction from machine language. Each line of an assembly programme can contain four elements: Lable, Opcode, Operands, and Comments. Most programmes will have a certain overall structure, and there are certain common elements needed for all programmes to work. The chapter shows how to use the microcontroller to implement a combinational logic.