| Motore di ricerca datesheet componenti elettronici |
|
DS83C320-WNL Scheda tecnica(PDF) 119 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS83C320-WNL Scheda tecnica(HTML) 119 Page - Dallas Semiconductor |
|
119 / 175 page ![]() High-Speed Microcontroller User’s Guide 119 of 175 READ-MODIFY-WRITE INSTRUCTIONS The normal read instructions will read the pin state without regard to the output data latch. The only exception is the read-modify–write category of instructions. They are listed as follows. INSTRUCTION DESCRIPTION ANL Logical AND ORL Logical OR XRL Logical Exclusive OR (XOR) JBC Branch if bit set then clear bit CPL Complement bit INC Increment DEC Decrement DJNZ Decrement and branch if not zero MOV PX.n, C Move the carry bit to bit n of port X CLR PX.n Clear bit n of port X SETB PX.n Set bit n of port X The read-modify-write instructions read the state of the latch, then write back the result to the latch. Thus the operation takes place using the value that was originally written to the SFR, without regard to the pin state. The last three instructions listed above are read-modify-write because they read the entire port latch, then write back the changed value. In this case, only one bit will be changed as specified by the instruction. I/O PORT TIMING Figure 10-1 shows when port pins change in relationship to instruction timing. The example shown uses a MOV command to change P1.0 from a logic 1 to a logic 0. This diagram is presented to aid the designer in determining the timing relationship for very critical designs. Most designers will not need to consider this much detail. Dummy NOP instructions are shown to illustrate subsequent instructions. |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |