| 数据搜索系统,热门电子元器件搜索 |
|
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. |
|
链接网址 |
| 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 |