ASM Window Error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

ASM Window Error

Post by saschech@gmx.de »

Hallo

If i build code:

asm
{
label:

nop
nop
nop
nop
nop

decfsz _FCV_t , f

goto label
}

i become the error:
D:\sachs_work\microchip\muster 4620\sapic muster 18f4620.c(9249): error: error in built-in assembly
D:\sachs_work\microchip\muster 4620\sapic muster 18f4620.c(9251): error: jump to undefined label
sapic muster 18f4620.c success

failure

........
Return code = 1

please can jou help me?

regards wolfgang

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Post by saschech@gmx.de »

asm
{
label:
nop
nop
nop
nop
nop

decfsz _FCV_t , f

goto label

}

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Post by saschech@gmx.de »

hallo

in front of the nops ......... there are 5 spaces.

if i send the message it is without?

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

It may be the variable name that has the problem. Please try the following:

Code: Select all

decfsz _FCV_T, f 

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Post by saschech@gmx.de »

hallo

I have do this,it is the thame.

D:\sachs_work\microchip\muster 4620\sapic muster 18f4620.c(9246): error: error in built-in assembly
D:\sachs_work\microchip\muster 4620\sapic muster 18f4620.c(9247): error: jump to undefined label
sapic muster 18f4620.c success

failure

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

I think this will solve the problem (I've just managed to compile a similar one here):

Code: Select all

decfsz _FCV_T, F

Post Reply