|
Title: keil issue/error Post by: tao13 on January 20, 2025, 12:41:19 AM Somebody knows why KEIL compile this calls 82h, sub_825CC0 like this DA 82 00 00 and not DA 82 C0 5C?
Is it a common bug for C166? Must modify some "options" in project? Title: Re: keil issue/error Post by: fknbrkn on January 20, 2025, 03:32:36 AM bc sub_825CC0 is the variable and who knows how you define it
Code: myRoutine ECU 05CC0h or Code: calls 82h, 05CC0h Title: Re: keil issue/error Post by: tao13 on January 20, 2025, 08:07:29 AM Thanks fknbrkn.
I didn't define like a variable , i used it directly in code like sub_825CC0: Now i tried your advice to define it as variable and keil generate correct hex code with both of these: sub_825CC0 EQU 05CC0h sub_825CC0 EQU 825CC0h It works ok too with calls 82h, 05CC0h Thanks. |