Externally defined symbols in Bit instructions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-04-16 5:09 AM
Posted on April 16, 2003 at 14:09
Externally defined symbols in Bit instructions
Labels:
- Labels:
-
Legacy Products
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-04-15 11:54 PM
Posted on April 16, 2003 at 08:54
Hi All,
I am trying to use an externally defined public symbol SerDet in several modules which incorporate the instruction btjt PADR,#SerDet,labelX When I try to assemble the modules under STDV7 assembler I get error message saying ''unknown addressing mode'' and assembly fails This only appears to happen with the BIT class of instructions Can anyone help - its driving me crazy Thanks in advance johnoOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-04-16 5:09 AM
Posted on April 16, 2003 at 14:09
What you are trying to do is invalid.
The position part the the btjt/btjf has to be a constant 0-7. you could use a define,eg. #define BIT 1 btjt PADR, #BIT, * ; wait for falling edge on PA1 Regards Spen