#include <stdio.h>
-
+typedef struct block_reg_t{
+ int block;
+ int reg;
+}block_reg_t;
int main ( )
{
-char v[39999];
-unsigned int ID_aux = 0, a= 0,b= 0,c=0,d=0;
-v[0]=0x00;
-v[1]=0x31;
-v[2]=0xC7;
-v[3]=0x06;
-a = v[0];
-b = v[1];
-c = v[2];
-d = v[3];
-ID_aux = (d << 0 ) | (c << 8) | ( b << 16) | (a << 24);
-
-printf("el numero es = %x\n", ID_aux);
+ struct block_reg_t r;
+
+ printf("sizeof(struct block_reg_t) = %d\n", sizeof(struct block_reg_t));
+ printf("sizeof(r) = %d\n", sizeof(r));
+ return 0;
}