Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

reading the 'cdb' file

Help
Test User
2010-05-19
2013-03-12
  • Test User
    Test User
    2010-05-19

    Hi,

    I try to process the adb file (this documented as cdb probably)

    The program is the following
    #include "pic16f74.h"

    void main(void)
    {
       unsigned char my_test_var;

       my_test_var = 1;
       PORTA = my_test_var;

    }

    The commands
    sdcc -c -debug -noinduction -nooverlay -mpic14 -p16f74 calc.c
    sdcc -o noname.hex -mpic14 -p16f74 calc.o

    I checked the adb file, but no occurance for my_test_var.

    I would like to know on which address start my variable.

    Thanks