This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"NUMBER" directive

Hello All,

I need some help here on this directive...

I have two files main.asm and lcd.asm

I have declared the port pin as
"light equ p2.1" in lcd.asm

I am able to access all other function,variable in lcd.asm using extrn and public, but I am not able to access the "light equ p2.1"

I searched the threads ,also the examples and pdf files,I was not able to get a clear understanding.

Rgds
Raj Shetar

Parents
  • Raj,
    you now have two threads running on two boards that both say basically the same:
    "I have a problem with something and instead of tackling the problem as anyone else would I hunt for some exotic assembler/compiler/linker function"

    Why do you not sit back, figure out what your problem is and fix ir using standard means

    It serves no purpose to hunt for exotic features when the solution is as basic as "you should have used a /h file" or "buss two pins".

    Erik

Reply
  • Raj,
    you now have two threads running on two boards that both say basically the same:
    "I have a problem with something and instead of tackling the problem as anyone else would I hunt for some exotic assembler/compiler/linker function"

    Why do you not sit back, figure out what your problem is and fix ir using standard means

    It serves no purpose to hunt for exotic features when the solution is as basic as "you should have used a /h file" or "buss two pins".

    Erik

Children
No data