Binary Output - selection endian format
Brought to you by:
wiering
Hi.
Is there anyway currently in the code generation to
specifiy which endian binary data should be exported?
I'm using java which uses big endian, while the binary
code generation exports by default in little endian.
I cannot seem to find a complete reference to all the
commands that can be used in the code generation. I
see in the tutorial, it shows the following example:
<(R shr 2)+(G shr 2)*0x100+(B shr 2)*0x10000:"0%
06xh">
but nowhere does it describe what shr does or what
other commands there are.
Thanks
Chris
Logged In: YES
user_id=258029
At the moment, only little endian is supported.
The shr and shl operators are bit-shift-right and
bit-shift-left.
x shl y = x * 2^y
x shr y = x / 2^y (rounded of course)