Does anyone have a routine to load these values to ram arrays? or maybe direct access?
It would be nice if we could access 16bit ram cells as 2 8bits to store 2 numbers per ram address, tables would eat half space.
In picbasic there is the CDATA/CREAD statement that does that.
In picbasic:
label: // address pointer
cdata 10,20,30,40 // these are stored in 2 addresses and accessed by cread label+index
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
Posted: Thu May 27, 2004 9:34 pm
It's an 8 bit processor only 8 bits per word 256 bytes per RAM bank. The ROM is 16 bits per location in the PIC18 series and can be accessed directly. Look in the help file for;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum