Complex sentence: Many operating systems used on embedded systems have been traditionally written in assembler code for this reason; when efficiency and size are less important large parts may be written in a high-level language.
Split into simpler sentences: Many operating systems used on embedded systems have been traditionally written in assembler code for this reason. When efficiency and size are less important large parts may be written in a high-level language.