Discussion Forum

are code banking and data banking similar??!!

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
saurabh gupta
Posted
11-Oct-2006 08:35 GMT
Toolset
C251
New! are code banking and data banking similar??!!

hi friends,

i m experimenting with code banking using a very small code. I m just trying to glow an LED by switching the banks.But, the amount of code generated is very less in size.

Now i want to test my program by filling both the banked files to the optimum capicity of 64 KB. can i do it by using the following code :

DUMMY_DATA:
db:   "12345678901234567890"
db:   "12345678901234567890"
db:   "12345678901234567890"
db:   "12345678901234567890"


if i repeatedly write this code in my file i will very easily attain 64KB . but, i m not sure, this has to considered as data or code, because for data banking i have to define some extra directives. plz reply if someone has any idea.

Next Thread | Thread List | Previous Thread Start a Thread | Settings