beremiz

efdefbad49eb
runtime: fix bugs introduced in previous commit, and refactor some code
<?xml version='1.0' encoding='utf-8'?>
<MemoryArea xmlns:xsd="http://www.w3.org/2001/XMLSchema" MemoryAreaType="03 - Holding Registers" Nr_of_Channels="1"/>