Keil Logo

Re

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
sebastiaan knippels
Posted
25-Jun-2018 13:22 GMT
Toolset
C51
New! Re

I get it. Whether code has to assign text to a string variable or parse a hardcoded string as arguement in a function, it doesn't matter. Code simply has to touch the string one way or another.

Using a variable would be more efficient if I would print the exact same text more than 1 time. It would take 3 additional instructions to parse the varible as arguement. But I only have 6x printed NO's and 6x printed YES's.

I get that I am having a rather big problem. I am currently reading some stuff about efficient coding in C. There are some usefull things in there I could use.

Read-Only
Author
sebastiaan knippels
Posted
25-Jun-2018 13:25 GMT
Toolset
C51
New! RE: Re

how can I remove this?

Read-Only
Author
Andrew Neil
Posted
25-Jun-2018 14:52 GMT
Toolset
None
New! RE: Re how can I remove this?

You can't.

Let this be a lesson in checking carefully where you're posting ...

;)

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.