| поискавой системы для электроныых деталей |
|
D17133CS датащи(PDF) 78 Page - NEC |
|
|
|||||||||||||||||||||||||||||
D17133CS датащи(HTML) 78 Page - NEC |
|
78 / 289 page ![]() CHAPTER 7 SYSTEM REGISTER (SYSREG) 63 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 CMP=0 When CMP=1 When the result of the arithmatical operation is 0 Z ← 1 Z remains unchanged When the result of the arithmetic operation is other than 0 Z ← 0Z ← 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? CMP456: SET2 CMP, Z SUB M001, #4 ; Data stored in M001, M002, and M003 are not SUB M002, #5 ; damaged SUB M003, #6 ; ; CLR1 CMP SKT Z ; CMP is automatically cleared by the bit decision instruction BR DIFFER ; ≠ 456H BR AGREE ; =456H |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |