Currently I am using HET 1.7 assembler. As per the Assembler user guide -SPNU490 , I am trying to use compiler directive ".if" for certain line only if condition met. Here is the example, I am continuously getting .if syntax error, so would anyone help me understanding this ?
Here is my code snippet :
Test .equ 1
Instruction1: CNT {reg=A, irq=OFF, max=10, data=0}
.if Test
Instruction 2: BR {next=START, cond_addr=START, event=NOCOND}
.endif