
11 May
2010
11 May
'10
3:41 p.m.
On Tuesday 11 May 2010 21:01:19, Stephen Tetley wrote:
On 11 May 2010 19:16, Daniel Fischer
wrote: Int8 and Word8 are unproblematic (unless you have a ones-complement machine), the problems appear only for larger types, [SNIP]
Hi Daniel
Likely I was revealing a personal bias on that one, the only protocol I've implemented where Int8 has featured has been MIDI.
If MIDI isn't ones-complement, my codes - I've written decoders / encoders several times - have been wrong for years...
I've no idea how MIDI messages/files/streams are interpreted, I was thinking about the hardware, how the ALU interprets the bit-pattern for arithmetic.
Best wishes
Stephen