| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
H8/3045 Datasheet(PDF) 72 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3045 Datasheet(HTML) 72 Page - Renesas Technology Corp |
|
72 / 905 page ![]() Section 2 CPU Rev. 7.00 Sep 21, 2005 page 48 of 878 REJ09B0259-0700 Figure 2.9 shows examples of instruction formats. op NOP, RTS, etc. op rn rm op rn rm EA (disp) Operation field only ADD.B Rn, Rm, etc. Operation field and register fields MOV.B @(d:16, Rn), Rm Operation field, register fields, and effective address extension BRA d:8 Operation field, effective address extension, and condition field op cc EA (disp) Figure 2.9 Instruction Formats 2.6.5 Notes on Use of Bit Manipulation Instructions The BSET, BCLR, BNOT, BST, and BIST instructions read a byte of data, modify a bit in the byte, then write the byte back. Care is required when these instructions are used to access registers with write-only bits, or to access ports. The BCLR instruction can be used to clear flags in the internal I/O registers. In an interrupt- handling routine, for example, if it is known that the flag is set to 1, it is not necessary to read the flag ahead of time. Step Description 1 Read Read data (byte unit) at the specified address 2 Bit manipulation Modify the specified bit in the read data 3 Write Write the modified data (byte unit) to the specified address In the following example, a BCLR instruction is executed on the data direction register (DDR) of port 4. P47 and P46 are set as input pins, and are inputting low-level and high-level signals, respectively. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |