データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

D17133CS データシート(PDF) 52 Page - NEC

部品番号 D17133CS
部品情報  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  289 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  NEC [NEC]
ホームページ  http://www.nec.com/
Logo NEC - NEC

D17133CS データシート(HTML) 52 Page - NEC

Back Button D17133CS Datasheet HTML 48Page - NEC D17133CS Datasheet HTML 49Page - NEC D17133CS Datasheet HTML 50Page - NEC D17133CS Datasheet HTML 51Page - NEC D17133CS Datasheet HTML 52Page - NEC D17133CS Datasheet HTML 53Page - NEC D17133CS Datasheet HTML 54Page - NEC D17133CS Datasheet HTML 55Page - NEC D17133CS Datasheet HTML 56Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 289 page
background image
CHAPTER 6
STACK
37
Table 6-1. Operation of the Stack Pointer
Instruction
Stack Pointer Value
Counter of Interrupt Stack Register
CALL addr
CALL @AR
MOVT DBF, @AR
–1
Not changed
(1st instruction cycle)
PUSH AR
Interrupt receipt
–1
–1
RET
RETSK
MOVT DBF, @AR
+1
Not changed
(2nd instruction cycle)
POP AR
RETI
+1
+1
As mentioned above, the stack pointer is a 3-bit counter and therefore can conceivably store any of the eight values
from 0H to 7H. Since there are only five address stack registers, however, a stack pointer value that is greater than
five will cause an internal reset signal to be generated (to prevent a software crash).
Since the stack pointer is located in the register file, it can be read and written to directly by using the PEEK and
POKE instructions to manipulate the register file. When this is done, the stack pointer value will change but the values
in the address stack register will not be affected.
6.6 STACK OPERATION DURING SUBROUTINES, TABLE REFERENCES, AND INTERRUPTS
Stack operation during execution of each command is explained in 6.6.1 to 6.6.3.
6.6.1 Stack Operation during Subroutine Calls (CALL) and Returns (RET, RETSK)
Table 6-2 shows operation of the stack pointer (SP), address stack register, and the program counter (PC) during
execution of subroutine calls and returns.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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