| Electronic Components Datasheet Search |
|
H83502 Datasheet(PDF) 49 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H83502 Datasheet(HTML) 49 Page - Renesas Technology Corp |
|
49 / 386 page ![]() 35 Table 2-6 Bit-Manipulation Instructions (cont) Instruction Size* Function BLD BILD B (<bit-No.> of <EAd>) → C Copies a specified bit in a general register or memory to the C flag. ¬ (<bit-No.> of <EAd>) → C Copies the inverse of a specified bit in a general register or memory to the C flag. The bit number is specified by 3-bit immediate data. BST BIST BC → (<bit-No.> of <EAd>) Copies the C flag to a specified bit in a general register or memory. ¬ C → (<bit-No.> of <EAd>) Copies the inverse of the C flag to a specified bit in a general register or memory. The bit number is specified by 3-bit immediate data. Note: * Size: operand size B: Byte Notes on Bit Manipulation Instructions: BSET, BCLR, BNOT, BST, and BIST are read- modify-write instructions. They read a byte of data, modify one bit in the byte, then write the byte back. Care is required when these instructions are applied to registers with write-only bits and to the I/O port registers. Order Operation Read Read one data byte at the specified address Modify Modify one bit in the data byte Write Write the modified data byte back to the specified address Example: BCLR is executed to clear bit 0 in the port 1 data direction register (P1DDR) under the following conditions. P17: Input pin, Low P16: Input pin, High P15–P10: Output pins, Low The intended purpose of this BCLR instruction is to switch P10 from output to input. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |