wiz-icon
MyQuestionIcon
MyQuestionIcon
3
You visited us 3 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following statement is used to end a macro in assembly language?

A
END MACRO
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
MACRO END
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
ENDM
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Macroname END
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B ENDM

ENDM statement is used to end a macro in assembly language.

A macro is a sequence of instructions, assigned by a name and could be used anywhere in the program.

Writing a macro is another way of ensuring modular programming in assembly language. A macro is a sequence of instructions, assigned by a name and could be used anywhere in the program.


A macro is an extension to the basic assembler language. They provide a means for generating a commonly used sequence of assembler instructions/statements. Whenever the sequence is needed within a program, the macro will be "called".


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Crystalline and Amorphous Solid
CHEMISTRY
Watch in App
Join BYJU'S Learning Program
CrossIcon