Prox / RFID
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Resume / Consulting
LDmicro Forum - Integer maths
(you are viewing a thread; or go back to
list of threads
I note maths performed within LDmicro is nominally 16 bit integer work.
While this is true claimed I also see that we can cast a variable to be a longer than 16bits integer value.
Good for multiplication say. When invoking MUL instruction and looking for a 16 bit by 8 bit product how does MUL handle that?
Is it necesary to cast the variable whihc will hold the product into a 3 byte variable before invoking MUL? or is the product automatically cast to the correct size variable?
Sun Dec 2 2018, 16:10:41
Post a reply to this comment:
(no HTML tags; use plain text, and hit Enter for a line break)
(if you want, 5 MB max)