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

error A45 undefined symbol (pass 2)

i am makinga 4x4 keypad interacing program where da character pressed has to be sent serially to anothr board..
checking all 4 coulumns for each row,
i gave a an exit command

jb col4 exit

where da exit subroutine was written at da end
fisrt it gave me an error (TARGET OUT OF REACH)
THEN, realizing jb doesnt hav long enough range, i changed it to

jb col4 JUMP
JUMP: acall exit

now its giving an error "UNDEFINED SYMBOL (PASS 2)

tell me what to do? i have to make it jump only if my "jb col4" condition is fulfilled

Parents
  • Note that compilers can be just as picky about missing or misplaced "punctuation".

    Programming - in any form - is all about attention to detail; if you can't be bothered with that, then programming - in any form - is not for you.

    People may give you the benefit of the doubt; eg, assuming that "da" is supposed to mean "the" - but programming tools will permit no such laxity...

Reply
  • Note that compilers can be just as picky about missing or misplaced "punctuation".

    Programming - in any form - is all about attention to detail; if you can't be bothered with that, then programming - in any form - is not for you.

    People may give you the benefit of the doubt; eg, assuming that "da" is supposed to mean "the" - but programming tools will permit no such laxity...

Children
  • respected Sir,
    i did give da comma
    n may be because english is not my mother tounge, thats y i m unable to make you understand my problem..
    still it doesnt mean that i cant program in assembly...

    'da" and "the"
    i know where the difference matters.. *sigh*
    thanks anyways