seedy1812 0 Posted October 24, 2006 Report Share Posted October 24, 2006 (edited) OS: WinXP, SP2 SourceBoostIDE: 6.50 Pre release Compiler: BoostC 6.50 Pre release Target: PIC16F877A I have a data table defined by #pragma DATA 0xc100 , 0x01,0x02,0x03,0x04,0x05,0x06 #pragma DATA 0xc110 , 0x11,0x12,0x13,0x14,0x15,0x16 #pragma DATA 0xc120 , 0x21,0x22,0x23,0x24,0x25,0x26 now I want to create a series of pointers to these arrays so i tried #pragma DATA 0xc300, (0xc100)>>8,(0xc100)&0xff, (0xc110)>>8,(0xc110)&0xff, (0xc120)>>8,(0xc120)&0xff This produces <filename>(33): error: failue but if i use #pragma DATA 0xc300, 0xc1,0x00, 0xc1,0x10, 0xc1,0x20 It works a treat Edited October 24, 2006 by seedy1812 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.