Add arithmetic and logic feature for VM