| Electronic Components Datasheet Search |
|
LC66P308 Datasheet(PDF) 21 Page - Sanyo Semicon Device |
|
|
|||||||||||||||||||||||||||||
LC66P308 Datasheet(HTML) 21 Page - Sanyo Semicon Device |
|
21 / 28 page ![]() No. 5489-21/28 LC66P5316 Continued on next page. Instruction code Affected Mnemonic Operation Description status Note D7 D6 D5 D4 D3 D2 D1 D0 bits [Accumulator manipulation instructions] CLA Clear AC 1000 0000 1 1 AC ← 0 Clear AC to 0. ZF Has a vertical (Equivalent to LAI 0.) skip function. DAA Decimal adjust AC 1100 1111 22 AC ← (AC) + 6 Add six to AC. ZF in addition 0010 0110 (Equivalent to ADI 6.) Decimal adjust AC 1100 1111 AC ← (AC) + 10 DAS in subtraction 0010 1010 2 2 (Equivalent to Add 10 to AC. ZF ADI 0AH.) CLC Clear CF 0001 1110 1 1 CF ← 0 Clear CF to 0. CF STC Set CF 0001 1111 1 1 CF ← 1 Set CF to 1. CF CMA Complement AC 0001 1000 1 1 AC ← (AC) Take the one’s complement ZF of AC. IA Increment AC 0001 0100 1 1 AC ← (AC) + 1 Increment AC. ZF, CF DA Decrement AC 0010 0100 1 1 AC ← (AC) – 1 Decrement AC. ZF, CF Rotate AC right AC3 ← (CF), RAR through CF 0001 0000 1 1 ACn ← (ACn + 1), Shift AC (including CF) right. CF CF ← (AC 0) Rotate AC left AC0 ← (CF), RAL through CF 0000 0001 1 1 ACn + 1 ← (ACn), Shift AC (including CF) left. CF, ZF CF ← (AC 3) TAE Transfer AC to E 0100 0101 1 1 E ← (AC) Transfer the contents of AC to E. TEA Transfer E to AC 0100 0110 1 1 AC ← (E) Transfer the contents of E to AC. ZF XAE Exchange AC with E 0100 0100 1 1 (AC) ↔ (E) Exchange the contents of AC and E. [Memory manipulation instructions] IM Increment M 0001 0010 1 1 M (HL) ← Increment M (HL). ZF, CF [M (HL)] + 1 DM Decrement M 0010 0010 1 1 M (HL) ← Decrement M (HL). ZF, CF [M (HL)] – 1 IMDR i8 Increment M direct 1100 0111 2 2 M (i8) ← [M (i8)] + 1 Increment M (i8). ZF, CF I7 I6 I5 I4 I3 I2 I1 I0 DMDR i8 Decrement M direct 1100 0011 2 2 M (i8) ← [M (i8)] – 1 Decrement M (i8). ZF, CF I7 I6 I5 I4 I3 I2 I1 I0 SMB t2 Set M data bit 0000 11 t1 t0 1 1 [M (HL), t2] ← 1 Set the bit in M (HL) specified by t0 and t1 to 1. RMB t2 Reset M data bit 0010 11 t1 t0 1 1 [M (HL), t2] ← 0 Clear the bit in M (HL) ZF specified by t0 and t1 to 0. [Arithmetic, logic and comparison instructions] Add the contents of AC and AD Add M to AC 0000 0110 1 1 AC ← (AC) + M (HL) as two’s complement ZF, CF [M (HL)] values and store the result in AC. Add the contents of AC and ADDR i8 Add M direct to AC 1100 1001 2 2 AC ← (AC) + [M (i8)] M (i8) as two’s complement ZF, CF I7 I6 I5 I4 I3 I2 I1 I0 values and store the result in AC. Add the contents of AC, ADC Add M to AC with CF 0000 0010 1 1 AC ← (AC) + M (HL) and C as two’s ZF, CF [M (HL)] + (CF) complement values and store the result in AC. Add the contents of AC and ADI i4 Add immediate data 1100 1111 22 AC ← (AC) + the immediate data as two’s ZF to AC 0010 I3 I2 I1 I0 I3, I2, I1, I0 complement values and store the result in AC. Subtract the contents of AC CF will be zero if SUBC Subtract AC from M 0001 0111 1 1 AC ← [M (HL)] – and CF from M (HL) as two’s ZF, CF there was a with CF (AC) – (CF) complement values and store borrow and one the result in AC. otherwise. And M with AC then AC ← (AC) Take the logical and of AC ANDA store AC 0000 0111 1 1 [M (HL)] and M (HL) and store the ZF result in AC. Or M with AC then AC ← (AC) Take the logical or of AC and ORA store AC 0000 0101 1 1 [M (HL)] M (HL) and store the result ZF in AC. |
|
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 |