<html>
  <head>
    <meta content="text/html; charset=iso-8859-2"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Tento pripad se da resit i jednoduseji:<br>
      <br>
      #pragma config IDLOC0 = ((B) << 8) | ((C) << 4) | (D)<br>
      <br>
      Hynek Sladky<br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 18.6.2017 15:07, Miroslav Draxal
      wrote:<br>
    </div>
    <blockquote cite="mid:001901d2e833$c6d17e80$54747b80$@cz"
      type="cite">
      <pre wrap="">Dobrý den,
Výsledek šel mimo konferenci, tímto děkuji [<a class="moz-txt-link-abbreviated" href="mailto:jindroush@seznam.cz">jindroush@seznam.cz</a>] za
vyřešení. Je to takhle

#define A 0x
#define B 1
#define C 2
#define D 4

#define GLUE(x,y,z,q) x ## y ## z ## q
#define SUPERGLUE(x,y,z,q) GLUE(x,y,z,q) 
#define HUHU SUPERGLUE(A,B,C,D)
#pragma config IDLOC0 = HUHU // Vyzkoušeno XC8


Dale viz zde: 
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/1489932/how-to-concatenate-twice-with-th">https://stackoverflow.com/questions/1489932/how-to-concatenate-twice-with-th</a>
e-c-preprocessor-and-expand-a-macro-as-in-arg

Ještě jednou díky,
Míra

</pre>
    </blockquote>
    <br>
  </body>
</html>