| 전자부품 데이터시트 검색엔진 |
|
UPD17P136ACT 데이터시트(PDF) 81 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT 데이터시트(HTML) 81 Page - NEC |
|
81 / 292 page ![]() CHAPTER 7 SYSTEM REGISTER (SYSREG) 62 7.7.6 Binary-Coded Decimal Flag (BCD) The BCD flag is used for BCD operations. When the BCD flag is set (BCD = 1), all arithmetic operations will be performed in BCD. When the BCD flag is reset (BCD = 0), arithmetic operations are performed in 4-bit binary. The BCD flag does not affect logical operations, bit judgement, comparison judgement or rotations. 7.7.7 Notes Concerning Use of Arithmetic Operations When performing arithmetic operations (addition and subtraction) on the program status word (PSWORD), the following point should be kept in mind. When an arithmetic operation is performed on the program status word, the result is stored in the program status word. Below is an example. Example MOV PSW, #0001B ADD PSW, #1111B When the above instructions are executed, a carry is generated which should cause bit 2 (CY flag) of PSW to be set. However, the result of the operation (0000B) is stored in PSW, meaning that CY does not get set. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |