<root>
<file schema='103' />
<macros >
<macro >
<flowline name='swap' description='load  integer to swap=&gt; return the swaped integer
load and return can be the same variable' statediag='0' >
<return name='Return' type='s16' description='return the swaped int' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
<param name='input' type='s16' description='load the integer to swap=&gt; return the swaped integer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
<local name='lsb' type='u8' description='temp lsb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='msb' type='u8' description='temp msb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='SINT16' type='s16' description='temp integer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
<exp exp='.lsb = .input' />
<exp exp='.msb = .input &gt;&gt; 8' />
<exp exp='.SINT16 = .SINT16 | .lsb &lt;&lt; 8' />
<exp exp='.SINT16 = .SINT16 | .msb' />
<exp exp='.Return = .SINT16' />
</command>
</flowline>
</macro>
</macros>
<variables />
</root>
