Which of the following symbols is used to write a comment in assembly program?
2022
Which of the following symbols is used to write a comment in assembly program?
- A.
@
- B.
$
- C.
;
- D.
%
Attempted by 70 students.
Show answer & explanation
Correct answer: C
In assembly programming, the semicolon symbol (;) is used to denote comments. Any text following a semicolon on a line is ignored by the assembler and does not affect program execution.