From: Kevin V. <kv...@en...> - 2000-09-18 15:48:43
|
On 18-Sep-2000 Michael Schmitt wrote: > may have i have encountered a problem with functions parameters in > memory ? Michael, what are your parameters to sdcc? Using this command line: sdcc -mds390 --model-flat24 --stack-10bit -c test4.c to compile the attached version of the code, I get the following output: ; test4.c 5 ; genAssign mov dptr,#_I2CSP5659SetFrequenz_PARM_2 ; genAssign: resultIsFar = FALSE movx a,@dptr mov r2,a inc dptr movx a,@dptr mov r3,a ; genCmpEq ; gencjneshort mov a,r2 cjne a,#0x00,00106$ mov a,r3 cjne a,#0x5F,00106$ ; Peephole 132 changed ljmp to sjmp sjmp 00103$ which looks correct to me. Peace, Kevin |