MOV A,m 1;
CJNE A, M2, LOOP// A-M2, only generate flag bits, and execute them in turn downwards.
LOOP:JNC LOOP 1; // Cy = 0 transmission.
MOV A,M2; // Cy = 1 to execute this line.
LOOP 1:MOV MAX,A; //
RET
There is only one JNC in the program, which plays a transfer role, (skipping a line,) and the others are executed sequentially.
MOV A and M2 with no function are executed again.