| Electronic Components Datasheet Search |
|
HPC16003 Datasheet(PDF) 29 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
HPC16003 Datasheet(HTML) 29 Page - National Semiconductor (TI) |
|
29 / 36 page ![]() HPC Instruction Set Description (Continued) Mnemonic Description Action BIT INSTRUCTIONS SBIT Set bit 1 xMembit RBIT Reset bit 0 xMembit IFBIT If bit If Membit is true do next instr MEMORY TRANSFER INSTRUCTIONS LD Load MemI xMA Load incrdecr X Mem(X) xA X g1 (or 2)xX ST Store to Memory A xMem X Exchange A Mem Exchange incrdecr X A Mem(X) X g1 (or 2) xX PUSH Push Memory to Stack W xW(SP) SPa2xSP POP Pop Stack to Memory SPb2 xSP W(SP)xW LDS Load A incrdecr B Mem(B) xA B g1 (or 2)xB Skip on condition Skip next if B greaterless than K XS Exchange incrdecr B Mem(B) ABg1 (or 2) xB Skip on condition Skip next if B greaterless than K REGISTER LOAD IMMEDIATE INSTRUCTIONS LD B Load B immediate imm xB LD K Load K immediate imm xK LD X Load X immediate imm xX LD BK Load B and K immediate imm xBimmxK ACCUMULATOR AND C INSTRUCTIONS CLR A Clear A 0 xA INC A Increment A A a 1 xA DEC A Decrement A A b 1 xA COMP A Complement A 1’s complement of A xA SWAP A Swap nibbles of A A1512 wA118wA74 A30 RRC A Rotate A right thru C C xA15 x xA0xC RLC A Rotate A left thru C C wA15 w wA0wC SHR A Shift A right 0 xA15x xA0xC SHL A Shift A left C wA15w wA0w0 SC Set C 1 xC RC Reset C 0 xC IFC IF C Do next if C e 1 IFNC IF not C Do next if C e 0 TRANSFER OF CONTROL INSTRUCTIONS JSRP Jump subroutine from table PC x SP SPa2xSP W(table ) xPC JSR Jump subroutine relative PC x SP SPa2xSPPCa xPC ( is a1025 to b1023) JSRL Jump subroutine long PC x SP SPa2xSPPCa xPC JP Jump relative short PCa xPC( is a32 to b31) JMP Jump relative PCa xPC( is a257 to b255) JMPL Jump relative long PCa xPC JID Jump indirect at PC a APCaAa1 xPC JIDW then Mem(PC)aPC xPC NOP No Operation PC a 1 xPC RET Return SPb2 xSP SP xPC RETSK Return then skip next SPb2 xSP SP xPC skip RETI Return from interrupt SPb2 xSP SP xPC interrupt re-enabled Note W is 16-bit word of memory MA is Accumulator A or direct memory (8 or 16-bit) Mem is 8-bit byte or 16-bit word of memory MemI is 8- or 16-bit memory or 8 or 16-bit immediate data imm is 8-bit or 16-bit immediate data imm8 is 8-bit immediate data only 29 |
|
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 |