Two languages, ladder diagram and machine code for processor