Skip to main content
Visitor II
April 25, 2006
Question

COSMIC .bit section

  • April 25, 2006
  • 2 replies
  • 774 views
Posted on April 25, 2006 at 08:58

COSMIC .bit section

    This topic has been closed for replies.

    2 replies

    irmakci2Author
    Visitor II
    April 21, 2006
    Posted on April 21, 2006 at 12:54

    Hi I want to use global bit and I read the document which was cross tutorial.We had had to declare .bit section in link file.But how to allocate to link file

    example my link file is

    +seg .text -b 0xfa00 -n .text # program start address

    +seg .const -a .text # constants follow code

    +seg .bsct -b 0x80 -m 0x80 # data start address

    +seg .ubsct -n iram # uninitialized zero page

    #

    # define the .share segment when using compact or memory models only

    #

    +seg .share -a iram -n share -is # shared segment

    Where and how should I allocate .bit section and which address if it is possible???Please help me?And Is ıt required identifier such as extern like global variables?

    Visitor II
    April 25, 2006
    Posted on April 25, 2006 at 08:58

    see answer in the other post.

    Luca