optimize code for bus read/write, mem & cpu, etc.