[Ktechlab-devel] Cant compile a microbe code
Sevcsik AndrĂ¡s
sevcsik at citromail.hu
Fri Feb 17 17:29:38 UTC 2006
Hi!
I try to compile this micorbe code with Ktechlab SVN, but gpasm cant
compile it.
P16F84
a = 1
b = 0
c = 20 /// Villogas sebessege/
d = 0
TRISB = b'11111111'
TRISA = b'00111'
start:
*while* a <= 255 AND b == 0 { /// Ha a = 256, akkor az utolso led vilagit/
a = a*2
*if* a == 255 *then* b = 1
PORTB = a
delay 20
}
*while* a >= 1 AND b == 1 {
a = a/2
*if* a == 1 *then* b = 0
PORTB = a
delay 20
}
goto start
*end*
Here's the log:
Building: /home/sevcsik/workz/PIC/fairco/villogtato.hex
microbe /home/sevcsik/workz/PIC/fairco/villogtato.microbe
/tmp/kde-sevcsik/ktechlab5wUWXb.asm --show-source
*** Compilation successful ***
gpasm --output /home/sevcsik/workz/PIC/fairco/villogtato.hex
--hex-format inhx8m --radix DEC --warning 2 --ignore-case --force-list
/tmp/kde-sevcsik/ktechlab5wUWXb.asm
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:43:Error [116] Value of symbol
"start" differs on second pass
pass 1=0, pass 2=6
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:106:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=48
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:107:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=48
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:110:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=49
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:111:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=49
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:114:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=50
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:115:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=50
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:118:Error [116] Value of symbol
"__picfunc_m
ultiply_loop" differs on second pass
pass 1=47, pass 2=51
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:119:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=51
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:122:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=52
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:123:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=52
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:126:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=53
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:127:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=53
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:130:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=54
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:131:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=54
/tmp
/kde-sevcsik/ktechlab5wUWXb.asm:134:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=55
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:135:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=55
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:138:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=56
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:139:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=56
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:142:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=57
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:143:Error [116] Value of symbol
"__picfunc_multiply" differs on second pass
pass 1=47, pass 2=57
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:146:Error [116] Value of symbol
"__picfunc_multiply_loop" differs on second pass
pass 1=47, pass 2=58
/tmp/kde-sevcsik/ktechlab5wUWXb.asm:147:Error [116] Value of sy
mbol "__picfunc_multiply" differs on second pass
pass 1=47, pass 2=58
*** Assembly failed ***
Why is that the microbe compiling is successful, but gpasm can't asemble it?
i have no idea :)
thanks for the help
More information about the Ktechlab-devel
mailing list