examples/example.xml
changeset 17 faa048f4172e
parent 13 69075340d6a9
child 24 364320323b4d
equal deleted inserted replaced
16:20dcc0dce64b 17:faa048f4172e
   406      ADD( X1     (* Defer ADD *)
   406      ADD( X1     (* Defer ADD *)
   407      SUB  X2     (* Substract X1 from X2 *)
   407      SUB  X2     (* Substract X1 from X2 *)
   408      ST   Temp   (* Store X1-X2 in Temp *)
   408      ST   Temp   (* Store X1-X2 in Temp *)
   409      MUL  Temp   (* Multiply by Temp to square *)
   409      MUL  Temp   (* Multiply by Temp to square *)
   410      )
   410      )
   411      CAL  SQRT   (* Call Square root fun *)
   411      SQRT        (* Call Square root fun *)
   412      ST   ILTest (* Setup function result *)
   412      ST   ILTest (* Setup function result *)
   413      GT   TMax   (* Greater than TMax ? *)
   413      GT   TMax   (* Greater than TMax ? *)
   414      JMPC ERR    (* Yes, Jump to Error *)
   414      JMPC ERR    (* Yes, Jump to Error *)
   415      S    ERROR  (* Set ERROR *)
   415      S    ERROR  (* Set ERROR *)
   416      RET         (* Normal return *)
   416      RET         (* Normal return *)
   816                 <BOOL/>
   816                 <BOOL/>
   817               </type>
   817               </type>
   818             </variable>
   818             </variable>
   819             <variable name="Temp">
   819             <variable name="Temp">
   820               <type>
   820               <type>
   821                 <INT/>
   821                 <REAL/>
   822               </type>
   822               </type>
   823             </variable>
   823             </variable>
   824           </inputVars>
   824           </inputVars>
   825           <outputVars>
   825           <outputVars>
   826             <variable name="Speed">
   826             <variable name="Speed">