Updated assembly code, renamed ctrl unit