Various code snippets for μP lab, embedded C and assembly