| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 306 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 306 Page - Freescale Semiconductor, Inc |
|
306 / 452 page ![]() Instruction Glossary S12CPUV2 Reference Manual, Rev. 4.0 306 Freescale Semiconductor Operation: (SP) – $0002 ⇒ SP; RTNH : RTNL ⇒ (M(SP) : M(SP+1)) (SP) – $0002 ⇒ SP; YH : YL ⇒ (M(SP) : M(SP+1)) (SP) – $0002 ⇒ SP; XH : XL ⇒ (M(SP) : M(SP+1)) (SP) – $0002 ⇒ SP; B : A⇒ (M(SP) : M(SP+1)) (SP) – $0001 ⇒ SP; CCR ⇒ (M(SP)) Stop CPU Clocks Description: Puts the CPU into a wait state. Uses the address of the instruction following WAI as a return address. Stacks the return address, index registers Y and X, accumulators B and A, and the CCR, decrementing the SP before each item is stacked. The CPU then enters a wait state for an integer number of bus clock cycles. During the wait state, CPU clocks are stopped, but other MCU clocks can continue to run. The CPU leaves the wait state when it senses an interrupt that has not been masked. Upon leaving the wait state, the CPU sets the appropriate interrupt mask bit(s), fetches the vector corresponding to the interrupt sensed, and instruction execution continues at the location the vector points to. Although the WAI instruction itself does not alter the condition codes, the interrupt that causes the CPU to resume processing also causes the I mask bit (and the X mask bit, if the interrupt was XIRQ) to be set as the interrupt vector is fetched. WAI Wait for Interrupt WAI CCR Details: S X HIN Z V C –––––––– Source Form Address Mode Object Code Access Detail HCS12 M68HC12 WAI (before interrupt) INH 3E OSSSSsf OSSSfSsf WAI (when interrupt comes) fVfPPP VfPPP |
|
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 |