công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MPD78CP14KB bảng dữ liệu(PDF) 344 Page - NEC

tên linh kiện MPD78CP14KB
Giải thích chi tiết về linh kiện  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  NEC [NEC]
Trang chủ  http://www.nec.com/
Logo NEC - NEC

MPD78CP14KB bảng dữ liệu(HTML) 344 Page - NEC

Back Button MPD78CP14KB Datasheet HTML 340Page - NEC MPD78CP14KB Datasheet HTML 341Page - NEC MPD78CP14KB Datasheet HTML 342Page - NEC MPD78CP14KB Datasheet HTML 343Page - NEC MPD78CP14KB Datasheet HTML 344Page - NEC MPD78CP14KB Datasheet HTML 345Page - NEC MPD78CP14KB Datasheet HTML 346Page - NEC MPD78CP14KB Datasheet HTML 347Page - NEC MPD78CP14KB Datasheet HTML 348Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 344 / 373 page
background image
CHAPTER 14
INSTRUCTION SET
326
14.7 Stacked Instructions
If instructions in the same group, group A or group B, from among the 3 kinds of instructions shown below are
"stacked" in a program (i.e. if located in two or more consecutive addresses), the instruction located at the start point
among the stacked instructions is executed, and thereafter the number of states fundamentally required for execution
of that instruction are expended without any operation being performed (the same state as NOP).
Group A: MVI A, byte
(L1 flag)
Group B: MVI L, byte; LXI H, word
(L0 flag)
When a group A instruction is executed the L1 flag is set, and when a group B instruction is executed the L0 flag
is set, and a check is made of whether instructions in the same group are stacked.
Interrupts are not disabled during stacked instruction execution, but since the L1 and L0 flags are automatically
saved when an interrupt is generated, it is possible, on returning from the interrupt service routine, to determine
whether the next instruction is one which should be given a stacking effect.
Using stacked MVI instructions, a program which clears a 4-byte register located in a specific area of memory
(in this case with 10H as the upper address byte) can be written as shown below.
8
9
ABCD
E
F
01234567
1000
X-REG
Y-REG
1008
Z-REG
W-REG
CLX
: MVI
L,
00H ; CLEAR X-REG
CLY
: MVI
L,
04H ; CLEAR Y-REG
CLZ
: MVI
L,
08H ; CLEAR Z-REG
CLW
: MVI
L,
0CH ; CLEAR W-REG
MVI
H,
40H
MVI
C,
3
; SET COUNTER
XRA
A,
A
; CLEAR A
LOOP : STAX H+
; (HL)
← 0, HL ← HL+1
DCR
C
; SKIP IF BORROW
JR
LOOP
RET
When "CLY" is called, for example, 04H is loaded into the L register and the two stacked instructions MVI L, 08H
and MVI L, 0CH are replaced with an idle cycle (NOP cycle) comprising a total of 14 states, the upper byte of the
address is determined by the next MVI H, 40H instruction and the Y-REG start address "4004H" is loaded into the
HL register pair.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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