Any benefit in using BYTE on a 24 series

Discuss the Firewing language

Any benefit in using BYTE on a 24 series

Postby Timbo » Wed Jun 17, 2015 3:03 pm

Hi,

As the 24 series 16bit is the any code benefit in using Byte sized variables?

8 it devices I can see the rational in code size....
Timbo
 
Posts: 93
Joined: Fri May 03, 2013 7:51 pm

Re: Any benefit in using BYTE on a 24 series

Postby Jerry Messina » Wed Jun 17, 2015 4:44 pm

I'm sure there are exceptions, but for the majority of things probably not since the PIC24 has instructions for both byte and word sized variables.

For some operations you might even see LESS code when using 16-bits, esp. if you have any optimization enabled.
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am


Return to Language

Who is online

Users browsing this forum: No registered users and 2 guests

cron

x