We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi In language C, how I can obtain each BYTE of a number floating point located in XDATA. Example: If number is -12.5 Address 0 1 2 3 Content 0xC1 0x48 0x00 0x00 How I can consent to each BYTE (0 1 2 3) and to keep it in a variable type char or to write each byte of the number in a port. Some technique exists as XBYTE or something like that.... Thank you,
I think it's similar to obtaining each BYTE of a number floating point located in inner DATA. Firstly make sure the address for each byte,and then pass it back.For example, mode = chCmdChannel; here,mode is a inner variable, chCmdChannel is a address.