Re: Re: Re: Re: Bez tytułu

z Sloppy Motmot, 3 lata temu, napisane w ARM Assembler, wyświetlone 327 razy. Ta wklejka jest odpowiedzią na Re: Re: Re: Bez tytułu z Bistre Ostrich - Pokaż różnice
URL https://pastebin.k4be.pl/view/3fd0ef24 Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
  1. uint16_t tab[];
  2.  
  3. void f(void) {
  4.         uint16_t y;
  5.         uint16_t *x;
  6.         uint16_t tmp;
  7.         uint8_t *a, *b;
  8.        
  9.  
  10.         x = tab;  
  11.        
  12.         while(*x) {    
  13.                 a = x[1];  
  14.                 b = &x[2];  
  15.                
  16.                 tmp = 0;    
  17.                 for(y = *x; y > 0; y--) {
  18.                         a[tmp] = b[tmp];
  19.                         tmp++;
  20.                 }      
  21.                
  22.                 x = &b[tmp];
  23.         }      
  24. }

odpowiedź "Re: Re: Re: Re: Bez tytułu"

Tutaj możesz odpowiedzieć na wklejkę z góry

captcha