전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UPD17P136ACT 데이터시트(PDF) 93 Page - NEC

부품명 UPD17P136ACT
상세설명  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  NEC [NEC]
홈페이지  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT 데이터시트(HTML) 93 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 89Page - NEC UPD17P136ACT Datasheet HTML 90Page - NEC UPD17P136ACT Datasheet HTML 91Page - NEC UPD17P136ACT Datasheet HTML 92Page - NEC UPD17P136ACT Datasheet HTML 93Page - NEC UPD17P136ACT Datasheet HTML 94Page - NEC UPD17P136ACT Datasheet HTML 95Page - NEC UPD17P136ACT Datasheet HTML 96Page - NEC UPD17P136ACT Datasheet HTML 97Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 292 page
background image
CHAPTER 9 REGISTER FILE (RF)
74
Caution should especially be taken with regard to the following point:
•
When using a symbol to define the control register as an address in data memory, it needs to be defined
as addresses 80H to BFH of BANK0.
Since the control register is manipulated using the window register, any attempt to manipulate the control register
other than by using the “PEEK” and “POKE” instructions needs to cause an error in the assembler.
However, note that any address in the area of the register file overlapping with data memory (addresses 40H to
7FH) can be defined as a symbol in the same manner as with normal data memory.
An example is given below.
Example 2.
RF71
MEM
1.71H
; Register file overlapping with data memory
RF02
MEM
0.82H
; Control register
BANK0
PEEK
WR, RF71
; RF71 becomes address 71H in BANK0.
PEEK
WR, RF02
; RF02 becomes address 02H in the control register.
BANK1
PEEK
WR, RF71
; RF71 becomes address 71H in BANK1.
PEEK
WR, RF02
; RF02 becomes address 02H in the control register.
The assembler (AS17K) has the below flag symbol manipulation instructions defined internally as macros.
SETn
: Set a flag to 1
CLRn
: Reset a flag to 0
SKTn
: Skip when all flags are 1
SKFn
: Skip when all flags are 0
NOTn
: Invert a flag
INITFLG
: Initialize a flag
By using these embedded macro instructions, the contents of the register file can be manipulated in 1-bit unit.
Due to the fact that most of control register consists of 1-bit flags, the assembler (AS17K) has reserved words for
use with these flags.
However, note that there is no reserved word for the stack pointer for its use as a flag. The only reserved word
used for the stack pointer is the reserved word “SP”, for its use as data memory. For this reason, none of the above
flag manipulation instructions can be used with the stack pointer.



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