The CONTINUE statement is commonly described as a being equivalent to a NOP in assembler. What exactly does a COBOL CONTNUE generate in terms of machine code? I am wondering if the compiler has the ability to optimize it right out of the program or does it always result in a machine instruction being executed?
I could compile a little program with the LIST option then review at the pseudo assembler that comes out, but is that totally accurate or are there situations where the CONTINUE can be completely optimized out of the program? For example, if CONTINUE were the last statement of a PERFORMed paragraph.