boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

printf-int-promo.before (651B)


      1         if (c == 'l')
      2           c = *++p;
      3         if (c == 'l')
      4           {
      5             eputs ("vfprintf: skipping second: l\n");
      6             c = *++p;
      7           }
      8         switch (c)
      9           {
     10           case '%':
     11             {
     12               fputc (*p, f);
     13               count++;
     14               break;
     15             }
     16           case 'c':
     17             {
     18               char _c;
     19               _c = va_arg (ap, long);
     20               fputc (_c, f);
     21               break;
     22             }
     23           case 'd':
     24           case 'i':
     25           case 'o':
     26           case 'u':
     27           case 'x':
     28           case 'X':
     29             {
     30               long d = va_arg (ap, long);