
                       1    
  0030                 2    COUNT1  EQU  30h
  0031                 3    COUNT2  EQU  31h
                       4    
0000 E530              5    BEG: MOV A,COUNT1     ; Move LSD to A
0002 14                6        DEC  A            ; Decrement the LSD
0003 B413FA            7        CJNE 0FFh, BEG2   ; Check for underflow
****---------------------------------------^------^
****ERROR #20: Illegal operand
****ERROR #22: Missing operand delimiter
0006 753009            8        MOV  COUNT1, #09h ; If underflow, reload with 09 and dec MSD
                       9    ;
0009 E531             10        MOV  A, COUNT2    ; Fetch MSD
000B 14               11        DEC  A            ; Decrement the MSD
000C B411F1           12        CJNE 0FFh, BEG1   ; Check for underflow
****---------------------------------------^------^
****ERROR #20: Illegal operand
****ERROR #22: Missing operand delimiter
000F 7409             13        MOV  A, #09h      ; Reload MSD with 9
0011 F531             14    BEG1: MOV COUNT2, A   ; Save the MSD
                      15        JP   BEG3         ; Jump to end
****---------------------------------^
****ERROR #23: Illegal or missing directive
0013 F530             16    BEG2: MOV COUNT1,A    ; Save LSD
0015                  17    BEG3:
                      18       end

VERSION 1.2k ASSEMBLY COMPLETE, 7 ERRORS FOUND

