Arithmetic and logical unit