Unmatched ENDP: __

The ENDP directive has a name that does not match the PROC directive that
opened the procedure block. For example,

PROC ABC
ENDP XYZ ;error, XYZ should be ABC