Is there a compelling reason for all this output? As a rule of thumb I'd suggest to only output if the data has an unexpected value or if the test is about DISPLAY.
... maybe the compiler is expected (and already capable?) to know the data values and optimize all comparisons away - in this case a double test (compiler optimizes away, however that would be checked next to the actual DISPLAY test) would be useful. ... just wondering. Simon