| Electronic Components Datasheet Search |
|
MCS11 Datasheet(PDF) 84 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
MCS11 Datasheet(HTML) 84 Page - PADAUK Technology. |
|
84 / 108 page ![]() MCS11 ADC-Type Enhanced FPPA TM Controller ©Copyright 2018, PADAUK Technology Co. Ltd Page 84 of 108 PDK-DS-MCS11_v020 – Apr. 20, 2018 pushw word Move the source data from the memory in word to memory that address specified in the stack pointer (pushw word). It needs 2T to execute this instruction. Example: pushw word; Result: [sp] ← word ; sp ← sp + 2 ; Affected flags: 『N』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ word data ; // declare data in RAM … mov a, 0x55 ; mov ld@data, a ; // move 0x55 to data (LSB) mov a, 0xaa ; mov hd@data, a ; // move 0xaa to data (MSB) pushw data ; // move (0xaa, 0x55) to stack memory … ------------------------------------------------------------------------------------------------------------------------ pushw pcN Store the program counter of Nth FPP unit to the memory which address is specified in the stack pointer of current executing FPP unit (pushw pcN). It needs 2T to execute this instruction. Example: pushw pc3; Result: [sp] of FPP 0 ← pc of FPP3 ; sp of FPP 0 ← sp of FPP0 + 2 ; Affected flags: 『N』Z 『N』C 『N』AC 『N』OV Application Example: ------------------------------------------------------------------------------------------------------------------------ fpp0_loop: … pushw pc1 ; // store PC1 to stack memory … goto fpp0_loop ; fpp1_loop: … … goto fpp1_loop ; ------------------------------------------------------------------------------------------------------------------------ |
|
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 |