| Motore di ricerca datesheet componenti elettronici |
|
SC73P2602SC2 Scheda tecnica(PDF) 15 Page - Silan Microelectronics Joint-stock |
|
|
|||||||||||||||||||||||||||||
SC73P2602SC2 Scheda tecnica(HTML) 15 Page - Silan Microelectronics Joint-stock |
|
15 / 28 page ![]() HANGZHOU SILAN MICROELECTRONICS CO.,LTD REV:1.1 2009.11.19 Http: //www.silan.com.cn Page 15 of 28 2. Input/output instructions Flag Instruction Operation CF SF Cycle LD A, %p A ← PORT(p) - /Z 2 LD @LL, %p @LL ← PORT(p) - /Z 2 LD %p, A PORT(p) ← A - 1 2 LD %p, @LL PORT(p) ← @LL - 1 2 01. LD A, %p Load the value of port(P) to the accumulator 02. LD @LL, %p Load the value of port(P) to RAM pointed at by the LL register. 03. LD %p, A Load the contents of the accumulator to port (P). 04. LD %p, @LL Load the contents of RAM pointed at by the LL register to port(P). Note: The above four input/output instructions are used mostly for port operation, and the two read instructions will affect the status flag SF. 3. Arithmetic and logic instructions Flag Instruction Operation CF SF Cycle ADD A, @LL A ← A+RAM(LL) - /C 1 ADDC A, @LL A ← A+RAM(LL)+CF C /C 1 ADD A, #k A ← A+k - /C 1 ADD LL, #k LL ← LL+k - /C 2 SUBRC A, @LL A ← RAM(LL)-A-/CF C C 1 INC @LL RAM(LL) ← RAM(LL)+1 - /C 1 DEC @LL RAM(LL) ← RAM(LL)-1 - C 1 INC LL LL ← LL+1 - /C 2 DEC LL LL ← LL-1 - C 2 INC D D ← D+1 - /C 2 INC H H ← H+1 - /C 2 INC B B ←B+1 - /C 2 DEC D D ← D-1 - C 2 DEC H H ← H-1 - C 2 DEC B B ← B-1 - C 2 AND A, @LL A ← A&RAM(LL) - /Z 1 OR A, @LL A ← A | RAM(LL) - /Z 1 XOR A, @LL A ← A^RAM(LL) - /Z 1 01. ADD A, @LL Add the contents of RAM pointed at by the LL to accumulator, and store the sum in the ACC. This operation will affect SF, SF=/C. 02. ADDC A, @LL Add the contents of RAM pointed at by the LL register to accumulator with carry. Store the carry bit in the CF. This operation will affect SF, SF=/C. |
|
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 |