| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 152 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 152 Page - National Semiconductor (TI) |
|
152 / 184 page ![]() 60 Reference Section (Continued) SBCA Subtract with Carry and Accumulator Syntax SBCA Rs Rd register register SBCA Rs mIr register indexed Affected Flags N Z C V Description Subtracts the active accumulator and the carry flag from the source register Rs placing the result into the destination specified The destination may be either a register Rd or data memory via an index register mode mIr Negative results are represented using the two’s complement format Note that register bank selection determines which accumu- lator is active Example Subtract the constant 109 from the index register IW (which is 16 bits wide) SUBA A A Clear the accumulator SUB 109 R12 low byte of IW109 SBCA R13 R13 high byte of IWborrow Instruction Format SBCA Rs Rd 111011 Opcode Rd Rs 15 9 4 0 SBCA Rs mIr TLF9336 – 13 T-states SBCA Rs Rd 2 SBCA Rs mIr 3 Bus Timing SBCA Rs Rd Figure 6-1 SBCA Rs mIr Figure 6-7 Operation SBCA Rs Rd Rs b accumulator b carry bit xRd SBCA Rs mIr Rs b accumulator b carry bit xdata memory SHL Shift Left Syntax SHL Rsd b register Affected Flags N Z C Description Shifts the contents of the register Rsd b bits to the left and places the result back into that register Zeros are shifted in from the right (ie from the LSB) The value b may specify from 0 to 7 bit shifts The Carry flag contains the last bit shifted out Example Place a new internal Address Stack Pointer into the Internal Stack Pointer register ISP R30 Assume that the new ASP is located in register 20 MOVE ISPR8 read ISP for DSP AND 00001111BR8 save DSP only SHL R204 left justify ASP ORA R20ISP combine ASP a DSP then place into ISP Instruction Format 11001001 Opcode (8-b) Rsd 15 7 4 0 T-states 2 Bus Timing Figure 6-1 Operation TLF9336 – 14 152 |
|
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 |