Assembler for CPU and scheduling logic