Category: Assembly Language Programming

Conditional Statement in Assembly Language Program

Conditional Statement in Assembly Language Program: Assembler supports the use of Conditional Statement in Assembly Language Program. It also allows to use them in macro sequences. These conditional statements control the flow of the program execution. Let us see the conditional statements in the assembly language program and conditional statements used in macros. Conditional Statement […]

Macros in Microprocessor

Macros in Microprocessor: Macro is a group of instructions. The Macros in Microprocessor assembler generates the code in the program each time where the macro is ‘called’. Macros can be defined by MACRO and ENDM assembler directives. Creating macro is very similar to creating a new opcode that can be used in the program. It […]

Parameter Passing Techniques in Microprocessor

Parameter Passing Techniques in Microprocessor: Parameter Passing Techniques in Microprocessor – Whenever we need to use a group of instructions several times throughout a program there are two ways we can avoid having to write the group of instructions each time we want to use them. One way is to write the group of instructions […]

Modular Programming in 8086 Microprocessor

Modular Programming in 8086 Microprocessor: Many programs are too large to be developed by one programmer. Such programs are developed by team of programmers. They divide a large program into smaller modules. Then each Modular Programming is individually written, tested and debugged. When all modules are tested ‘OK’, they are linked together to form a […]

Assembly Instruction Format

Assembly Instruction Format: Although each Assembly Instruction Format has its own unique syntactical structure, such as requiring upper case or lower case, or requiring colons after label definitions we discuss the common features that assembler shares. The assembly text is usually divided into fields, separated by spaces and tabs. A format for a typical line […]

Program Development and Execution

Program Development and Execution: The steps involved in Program Development and Execution of assembly language programs. Fig. 8.1 shows these steps. The left side of the figure shows the time period, at which each step in the overall process takes place. The first step in the development process is to write an assembly language program. […]