Dear all, For some reason, I need to declare an array like that
#define STRING2_DESCRIPTOR_LENGTH 16 BYTE code product_string_descriptor[] = { STRING2_DESCRIPTOR_LENGTH, 0x03, 'U', 0x00, 'S', 0x00, 'B', 0x00, ' ', 0x00, 'H', 0x00, 'U', 0x00, 'B', 0x00 };
product_string_descriptor: DB end - $ DB 0x03, DB 'U', 0x00 DB 'S', 0x00 DB 'B', 0x00 DB ' ', 0x00 DB 'H', 0x00 DB 'U', 0x00 DB 'B', 0x00 end:
Hi Andy, The reason for me to post this question is that I think if I am able to do it in C, my strength is getting stronger than before. Just like when you are learning Mathematics, will you feel better if you know more than one solution for some questions than the other?