Low level code calculator