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
ASM Window Error
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
- Steve
- Matrix Staff
- Posts: 3426
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
It may be the variable name that has the problem. Please try the following:
Code: Select all
decfsz _FCV_T, f
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
- Steve
- Matrix Staff
- Posts: 3426
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
I think this will solve the problem (I've just managed to compile a similar one here):
Code: Select all
decfsz _FCV_T, F