envoie des derniers changements + explication fichier lfo.c

This commit is contained in:
2021-12-17 16:38:22 +01:00
parent 878a790493
commit f680229b17
2 changed files with 63 additions and 26 deletions

12
lfo.c
View File

@@ -19,11 +19,15 @@ union mars_instruction {
int main(int argc, char* argv[]){
union mars_instruction toto;
union mars_instruction didier;
toto.mars.codeop = 2;
toto.mars.arga = 2;
toto.mars.argb = 8;
toto.instruction = 216173890264694884;
printf("%llx\n", toto.instruction);
didier.mars.codeop = 2;
didier.mars.arga = 2;
didier.mars.argb = 8;
printf("Long long int: %lld\n", didier.instruction);
printf("Argument b de toto: %d\n", toto.mars.argb);
}