Hi MatrixMultimedia.
Last year I developed a project at my uni on Flowcode 02. Now they have upgraded to Flowcode 03 and I am getting error while generating hex file due to presence of assembly code. I was reading the post (http://www.matrixmultimedia.com/support ... =send+code) and have carried out the required changings i.e. putting "_" before special purpose registers (_porta, _portb, _trisa, _trisb). But still I am getting errors. Can you please guide me further what changings should I do to make my code to work on Flowcode 03. Can you please probably give me an email address where I can send you my code? Thanks very much for the help.
Kind Regards,
Tariq
asm code transition from Flowcode v2 to v3
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: asm code transition from Flowcode v2 to v3
Hello Tariq
Do you have the assembler code wrapped inside the asm brackets?
eg.
asm{
bsf _porta, 0
....
}
You can find more information inside the BoostC manual located inside the "Flowcode Vx/BoostC" directory.
We cannot troubleshoot your assembler code for you. The compilation should give you appropriate line numbers to help tracking down the problem.
To cross reference the line numbers with the errors you can use a text editor such as textpad to allow you to view the line numbers of the flowcode project C code file.
Do you have the assembler code wrapped inside the asm brackets?
eg.
asm{
bsf _porta, 0
....
}
You can find more information inside the BoostC manual located inside the "Flowcode Vx/BoostC" directory.
We cannot troubleshoot your assembler code for you. The compilation should give you appropriate line numbers to help tracking down the problem.
To cross reference the line numbers with the errors you can use a text editor such as textpad to allow you to view the line numbers of the flowcode project C code file.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: asm code transition from Flowcode v2 to v3
Thanks ben for your reply. I did place the brackets as mentioned by you. You are right. I think the best route is to read the manual and try to figure out what I am doing wrong. Thanks again.
Kind Regards,
Tariq
Kind Regards,
Tariq
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: asm code transition from Flowcode v2 to v3
If you can trace problems to specific lines using the compilation messages and a text editor with line numbers then I can help troubleshoot these lines. Just as long as I dont have to go through a wedge of assembler code.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- tmd_63
- Flowcode V4 User
- Posts: 21
- Joined: Sat Dec 26, 2009 9:47 pm
- Location: Swindon, England
- Has thanked: 9 times
- Been thanked: 1 time
- Contact:
Re: asm code transition from Flowcode v2 to v3
For reference. Notepad++ is a very good text editor with line numbers and it has other useful features too.
It is also free under the GNU licence. Have a look on sourceforge for it.
It is also free under the GNU licence. Have a look on sourceforge for it.