<byte order>
Z80/AMD/Intel etc. => little endian
SPARC/Motorola etc. => big endian
PowerPC/ARM => bi-endian
Think over why the src below enables us to determine cpu endians.
<C src of judgement of endian>
#include <stdio.h>
int main() {
int i = 1;
if ( *(char*)&i ) {
printf("little endian\n");
} else {
printf("big endian\n");
}
return 0;
}
Write a comment
tani sex telefon (Tuesday, 17 January 2017 12:55)
penny
psychic reading (Saturday, 21 January 2017 00:33)
nachrzanić
love spell (Saturday, 21 January 2017 20:31)
przeżywać