ASI recognition code