ALU combintional logic using callback