What is a macro?

Assembly Language Questions



80 Short 34 Medium 52 Long Answer Questions Question Index

What is a macro?

A macro in assembly language is a sequence of instructions or statements that are defined once and can be used multiple times throughout a program. It allows for code reusability and simplifies the programming process by reducing the need to write repetitive code. Macros are typically used to perform common tasks or calculations and can be invoked by using a specific name or identifier.