最新免费av在线观看,亚洲综合一区成人在线,中文字幕精品无码一区二区三区,中文人妻av高清一区二区,中文字幕乱偷无码av先锋

D17133CS Datasheet

  • D17133CS

  • 4-BIT SINGLE-CHIP MICROCONTROLLER

  • 289頁(yè)

  • NEC   NEC

掃碼查看芯片數(shù)據(jù)手冊(cè)

上傳產(chǎn)品規(guī)格書

PDF預(yù)覽

CHAPTER 7
SYSTEM REGISTER (SYSREG)
7.7.3 Index Enable Flag (IXE)
The IXE flag is used to enable to modify index of the data memory address, whether index modification is to be
performed on the data memory address used.
For a more detailed explanation, refer to
7.5 INDEX REGISTER (IX) AND DATA MEMORY ROW ADDRESS
POINTER (MEMORY POINTER: MP).
7.7.4 Zero Flag (Z) and Compare Flag (CMP)
The Z flag indicates whether the result of an arithmetic operation is 0. The CMP flag is used to specify that the
result of an arithmetic operation not be stored in data memory or the general register.
Table 7-2 shows how the CMP flag affects the setting and resetting of the Z flag.
Table 7-2. Zero Flag (Z) and Compare Flag (CMP)
Condition
When the result of the arithmatical operation is 0
When CMP=0
Z
鈫?/div>
1
When CMP=1
Z remains unchanged
Z
鈫?/div>
0
When the result of the arithmetic operation is other than 0 Z
鈫?/div>
0
The Z and CMP flags are used to compare the contents of the general register with those of the data memory.
The Z flag does not change other than in arithmetic operations; the CMP flag does not change other than in bit
decisions.
Example of 12-bit data comparision
;
Is the 12-bit data stored in M001, M002, and M003 equivalent to 456H?
SET2
SUB
SUB
SUB
; CLR1
SKT
BR
BR
CMP, Z
M001, #4
M002, #5
M003, #6
CMP
Z
DIFFER
AGREE
; CMP is automatically cleared by the bit decision instruction
;
鈮?/div>
456H
; =456H
; Data stored in M001, M002, and M003 are not
; damaged
;
CMP456:
63

D17133CS相關(guān)型號(hào)PDF文件下載

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買家服務(wù):
賣家服務(wù):
技術(shù)客服:

0571-85317607

網(wǎng)站技術(shù)支持

13606545031

客服在線時(shí)間周一至周五
9:00-17:30

關(guān)注官方微信號(hào),
第一時(shí)間獲取資訊。

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫(kù)提出的寶貴意見,您的參與是維庫(kù)提升服務(wù)的動(dòng)力!意見一經(jīng)采納,將有感恩紅包奉上哦!