| 数据搜索系统,热门电子元器件搜索 |
|
STC89LE52RC 数据表(PDF) 140 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC89LE52RC 数据表(HTML) 140 Page - STCmicro Technology Co,.Ltd |
|
140 / 165 page ![]() The operation is applied on the corresponding bits in each operand. The operator must be separated from the operands by space or tab characters. For example, the following two instructions are the same: MOV A, # '9' AND 0FH MOV A, #9 The NOT operator only takes one operand. The following three MOV instructions are the same: THREE EQU 3 MINUS_THREE EQU -3 MOV A, # (NOT THREE) + 1 MOV A, #MINUS_THREE MOV A, #11111101B Special Operators The sepcial operators are SHR shift right SHL shift left HIGH high-byte LOW low-byte () evaluate first For example, the following two instructions are the same: MOV A, #8 SHL 1 MOV A, #10H The following two instructions are also the same: MOV A, #HIGH 1234H MOV A, #12H Relational Operators When a relational operator is used between two operands, the result is alwalys false (0000H) or true (FFFFH). The operators are EQ = equals NE < > not equals LT < less than LE <= less than or equal to GT > greater than GE >= greater than or equal to Note that for each operator, two forms are acceptable (e.g., "EQ" or "="). In the following examples, all relational tests are "true": MOV A, #5 = 5 MOV A,#5 NE 4 MOV A,# 'X' LT 'Z' MOV A,# 'X' >= 'X' MOV A,#$ > 0 MOV A,#100 GE 50 140 |
|
链接网址 |
| 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 |