¿ªÔÆÌåÓý

Re: Pulling Arduino data apart


Jack Purdum
 

I did provide an example that you can use to investigate it. If you're interested, just take the intermediate assembler file and take a look at it.

Jack, W8TEE



From: Jerry Gaffke via Groups.Io <jgaffke@...>
To: [email protected]
Sent: Thursday, March 8, 2018 2:44 PM
Subject: Re: [BITX20] Pulling Arduino data apart

The question was, is the compiler smart enough to emit assembly language?
that just grabs the appropriate bytes without messing with any bit shifts.
It should.
If you have the correct compiler optimization flags set.


On Thu, Mar 8, 2018 at 11:36 am, Jack Purdum wrote:
It would be interesting to see what the Arduino compiler does with this code:
? ? sendbyte(data32>>24);


Join [email protected] to automatically receive all group messages.