Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20940

BASCOM-AVR : Assembler Question : REPLY

$
0
0
[quote:5fa7a65179="MWS"][quote:5fa7a65179="i.dobson"]I can't see any reason why. According to the help text * is pnly necessary if you're using a const.[/quote:5fa7a65179] This is [b:5fa7a65179]not[/b:5fa7a65179] what above help text tells. It won't take much logic to solve he riddle, the asterisk simply tells the compiler not to evaluate the line, if the lib is converted (compiled) into a lbx. This is told in context of the constant defined by basic code, as while converting into lbx the constant definition is not available and would thus rise an error. In regards of shown lib code, the conditional compilation via #IF ... is then also only evaluated at compile time together with basic code. But ignoring the conditional compilation command means then, that any opcode within the #IF block without an asterisk would actually be evaluated, and either it would show up unconditional in the lbx, or it would give an error.[/quote:5fa7a65179] Thank you for the additional information If I understand correctly then, adding the NOP with and without the preceding asterisk would both work equally. Is this correct? I am simply trying to slow down the timming of the LCD data transfer to resolve a corruption issue, so far without effect. I suspect the 240 x 128 LCD panel is bad even though it is brand new. I have an older panel with the same controller T6963C that works just fine but is a little dim due to the back-light LED technology.

Viewing all articles
Browse latest Browse all 20940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>