поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UPD17P136ACT датащи(PDF) 82 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) 82 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 78Page - NEC UPD17P136ACT Datasheet HTML 79Page - NEC UPD17P136ACT Datasheet HTML 80Page - NEC UPD17P136ACT Datasheet HTML 81Page - NEC UPD17P136ACT Datasheet HTML 82Page - NEC UPD17P136ACT Datasheet HTML 83Page - NEC UPD17P136ACT Datasheet HTML 84Page - NEC UPD17P136ACT Datasheet HTML 85Page - NEC UPD17P136ACT Datasheet HTML 86Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 292 page
background image
CHAPTER 7 SYSTEM REGISTER (SYSREG)
63
7.8 NOTES CONCERNING USE OF THE SYSTEM REGISTER
7.8.1 Reserved Words for the System Register
Because the system register is allocated in data memory, it can be used in any of the data memory manipulation
instructions. As shown in Example 1 (using a 17K Series Assembler AS17K), because a data memory address can
not be directly coded in an instruction operand, it needs to be defined as a symbol beforehand.
The system register is data memory, but has specialized functions which make it different from general-purpose
data memory. Therefore, the system register is used by defining it beforehand with symbols (used as reserved words)
in the assembler (AS17K).
Reserved words for the system register are allocated in address 74H to 7FH. They are defined by the symbols
(AR3, AR2, ..., PSW) shown in Figure 7-2.
As shown in Example 2, if these reserved words are used, it is not necessary to define symbols.
For information concerning reserved words, see CHAPTER 20 ASSEMBLER RESERVED WORDS.
Example 1.
MOV
34H, #0101B
; Using a data memory address like 34H or 76H will cause an
MOV
76H, #1010B
; error in the assembler.
M037
MEM 0.37H
; Addresses in general data memory need to be defined as
MOV
M037, #0101B ; symbols using the MEM directive.
2.
MOV
AR1, #1010B
; By using the reserved word AR1 (address 6H), there is no need
; to define the address as a symbol.
; Reserved word AR1 is defined in a device file with the directive
; “AR1 MEM 0.76H”.
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, data memory can be handled as flags as shown below in Example
3.
The functions of the program status word and the memory pointer enable flag are defined in bit units (flag units)
and each bit has a reserved word defined for it. These reserved words are MPE, BCD, CMP, CY, Z and IXE.
If these flag reserved words are used, the embedded macro instructions can be used as shown in Example
4.



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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