Essa empresa é sua?
how to determine controller is little endian or bigendane
Sigiloso
write integer and read with char variable if u get first byte little endian if get second that will be big endane
int x = 1; if (*(char *)&x == 1) printf("Little Endian [LSB first]"); // or LED1 ON else printf("Big Endian [MSB first]"); // or LED2 ON
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.