Other Parts Discussed in Thread: CONTROLSUITE
Hello all,
I introduced branch statement in macro, by giving some labels, but it is not working as desired.
Pls refer below code:
ABC .macro n
...... initial instructions
MOVL ACC,*XAR6
CMPL ACC,*XAR1
B SKIP_LOOP,LT
/*
Code to implement when ACC>*XAR1
*/
SKIP_LOOP:
/*
Code to implement when ACC<*XAR1
*/
.endm
But, when the condition is like ACC >*XAR1
the corresponding code should get executed and Label mentioned in branch should not be executed in short skipped.
Any help regarding this would be appreciated
Regards,
Tanmayee