Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - A byte variable one byte is located at 0x25. Why is the pic microcontroller and C language written like this: one dyte
A byte variable one byte is located at 0x25. Why is the pic microcontroller and C language written like this: one dyte

The sentence one dyte |==0x40 should be one dyte |=0x40, bsf ox25,6.

The BSF instruction sets a certain position of a data register to 1. In this statement, 0x25 is the data register, 6 is bit 6, 0x40 is equal to binary 0100 0000, and the 1 position is bit 6