Home > Back-end >  Using C language to achieve the following functions, split the contents of 40 h on chip RAM area, fo
Using C language to achieve the following functions, split the contents of 40 h on chip RAM area, fo

Time:09-22

Using C language to achieve the following functions, split the contents of 40 h on chip RAM area, four high four sent 41 h low (high 4 0), low four send 42 h 4 (high four clear 0)

CodePudding user response:

Unsigned char * p=0 x40 (unsigned char *);
* (p + 1)=* p & gt;> 4.
* (p + 2)=* p & amp; 15.
  • Related