| Electronic Components Datasheet Search |
|
SM89516B Datasheet(PDF) 16 Page - SyncMOS Technologies,Inc |
|
|
|||||||||||||||||||||||||||||
SM89516B Datasheet(HTML) 16 Page - SyncMOS Technologies,Inc |
|
16 / 49 page ![]() SM89516B 8-Bit Micro-controller 64KB Flash & 1KB RAM embedded Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M087 Ver D SM89516B 08/07/2015 - 16 - Table 2-4: Program branches Mnemonic Description Code Bytes Cycles ACALL addr11 Absolute subroutine call xxx11 2 2 LCALL addr16 Long subroutine call 12 3 2 RET from subroutine 22 1 2 RETI from interrupt 32 1 2 AJMP addr11 Absolute jump xxx01 2 2 LJMP addr16 Long iump 02 3 2 SJMP rel Short jump (relative addr.) 80 2 2 JMP @A+DPTR Jump indirect relative to the DPTR 73 1 2 JZ rel Jump if accumulator is zero 60 2 2 JNZ rel Jump if accumulator is not zero 70 2 2 JC rel Jump if carry flag is set 40 2 2 JNC Jump if carry flag is not set 50 2 2 JB bit,rel Jump if direct bit is set 20 3 2 JNB bit,rel Jump if direct bit is not set 30 3 2 JBC bit,direct rel Jump if direct bit is set and clear bit 10 3 2 CJNE A,direct rel Compare direct byte to A and jump if not equal B5 3 2 CJNE A,#data rel Compare immediate to A and jump if not equal B4 3 2 CJNE Rn,#data rel Compare immed. to reg. and jump if not equal B8-BF 3 2 CJNE @Ri,#data rel Compare immed. to ind. and jump if not equal B6-B7 3 2 DJNZ Rn,rel Decrement register and jump if not zero D8-DF 2 2 DJNZ direct,rel Decrement direct byte and jump if not zero D5 3 2 NOP No operation 00 1 1 Table 2-5: Boolean manipulation Mnemonic Description Code Bytes Cycles CLR C Clear carry flag C3 1 1 CLR bit Clear direct bit C2 2 1 SETB C Set carry flag D3 1 1 SETB bit Set direct bit D2 2 1 CPL C Complement carry flag B3 1 1 CPL bit Complement direct bit B2 2 1 ANL C,bit AND direct bit to carry flag 82 2 2 ANL C,/bit AND complement of direct bit to carry B0 2 2 ORL C,bit OR direct bit to carry flag 72 2 2 ORL C,/bit OR complement of direct bit to carry A0 2 2 MOV C,bit Move direct bit to carry flag A2 2 1 MOV bit,C Move carry flag to direct bit 92 2 2 |
|
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 |