Project:RELaserSoftware/MOL file format: Difference between revisions

From London Hackspace Wiki

Clarified float format
No edit summary
(Clarified float format)
 
Line 73: Line 73:
== Binary Commands ==
== Binary Commands ==


Every command starts with three bytes describing the command itself, plus one byte containing the number of parameters following. The parameters are always 4-byte words in LSB integer or floating point format, or four individual bytes. The FP format differs slightly from the IEEE standard, but can be converted by shifting a few bits around.  
Every command starts with three bytes describing the command itself, plus one byte containing the number of parameters following. The parameters are always 4-byte words in LSB integer or floating point format, or four individual bytes. The FP format differs slightly from the IEEE standard, but can be converted by shifting a few bits around.   LEETRO float: [eeeeeeee|smmmmmmm|mmmmmmm0|00000000]


The same command can have a different number of arguments!
The same command can have a different number of arguments!
1

edit