decoder for ibm1