Could anyone help me on how to understand the "byte code" generated by LDmicro? (by Marcelo)
Could anyone help me on how to understand the "byte code" generated by LDmicro?
For example, attachment follows the simple source code LDmicro: sdfc.ld and the byte code generated as below:
$$LDcode
01000000000000000000
03000100000000000000
33000200000003000000
02000100000000000000
03000300010000000000
03000100000000000000
33000400000007000000
02000100000000000000
03000500010000000000
ff000000000000000000
$$bits
XEntradaA,2
YSaidaA,3
XEntradaB,4
YSaidaB,5
$$int16s
$$cycle 10000 us
I know that the sources have LDInterpret.c but I can not understand it to port it to my microcontroller
thank you
(no subject) (by Jonathan Westhues)
What don't you understand about ldinterpret.c? Have you read the comments, and run it on the PC?