Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

directives if...then in pic

Status
Not open for further replies.

jgx

Member level 1
Joined
May 21, 2004
Messages
33
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,286
Location
brazil
Activity points
210
hi

how I can use the directives in assembler :?
 

Re: directives if...then in hc908

HI,
those structures are from basic language,and they work if you use a basic compiler (i think in pic basic translating those to pic assembler)...perhaps you should try to rethink your program using the conditional jumps your assembler has,once again,if you are using pics,one example could be the instruction btfss (bit) ,that skips the next instruction if the bit is high....
 

directives if...then in hc908

Hi,

If...Then, If A>B then..., etc Directives are not supported by all assemblers.
Your assembler must support this feature.
For example in 8051, I use ProgStudio which has this feature.
Search for assembler contain this feature.
But I'm sure it will not be free.

SphinX
Bye
 

Re: directives if...then in hc908

Hi

This is one example directives if...then in hc908. More information is in P&E site https://www.pemicro.com/index.html or Metrowerks.

best regards
Wat
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top