| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 149 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 149 Page - National Semiconductor (TI) |
|
149 / 184 page ![]() 60 Reference Section (Continued) OR OR Immediate Syntax OR n rsd immediate limited register Affected Flags N Z Description Logically ORs the immediate value n to the register rsd and places the result back into the register rsd Note that only the active registers R0 – R15 may be specified for rsd The value of n is 8 bits wide Example Mask both the Transmitter and Receiver interrupts via the Interrupt Control Register ICR R2 Leave the other inter- rupts unaffected EXX 00 select main reg banks OR 00000011B ICR mask transmitter and receiver interrupts Instruction Format 0101 Opcode n rsd 15 11 3 0 T-states 2 Bus Timing Figure 6-1 Operation rsd OR n xrsd ORA OR with Accumulator Syntax ORA Rs Rd register register ORA Rs mIr register indexed Affected Flags N Z Description Logically ORs the source register Rs to the active accumu- lator and places the result into the destination specified The destination may be either a register Rd or data memo- ry via an index register mode mIr Note that register bank selection determines which accumulator is active Example Write an 11-bit word to the Transmitter’s FIFO This exam- ple assumes that the index register IZ points to the location of the data in memory TCRsettings EQU 00101000B EXX 11 select main A alt B MOVE TCRsettingsA load accumulator wmask MOVE IZa R20 load bits 8 9 10 ORA R20TCR write bits 8 9 10 to TCR MOVE IZa RTR push 11-bit word to FIFO Instruction Format ORA Rs Rd 111101 Opcode Rd Rs 15 9 4 0 ORA Rs mIr TLF9336 – 11 T-states ORA Rs Rd 2 ORA Rs mIr 3 Bus Timing ORA Rs Rd Figure 6-1 ORA Rs mIr Figure 6-7 Operation ORA Rs Rd Rs OR accumulator xRd ORA Rs mIr Rs OR accumulator xdata memory 149 |
|
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 |