资 源 简 介
1)设定字节型变量VAR1的内容为35H,编写程序将VAR1的高4位与低4位分离,分别作为低4位保存在RES1和RES2中,这两个变量高4位置0。
2)设定32位(二进制)数据0E2597455H(注:最高位为E)保存在变量VAR2中,将该变量中的内容算术左移2位,所得结果仍然保存在VAR2中-1) Set the contents of byte variable VAR1 is 35H, the preparation of the program will VAR1 high 4 and low 4 separation, respectively, as a low 4 bits stored in RES1 and RES2, this high-4 position of the two variables 0.2 ) to set the 32-bit (binary) data 0E2597455H (Note: The highest level of E) stored in the variable VAR2 in the contents of the variable arithmetic left two, the result is still stored in the VAR2 in the