| Electronic Components Datasheet Search |
|
UM0144 Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 92 page ![]() 3 ST7 Assembler ST7 Assembler Linker 20/92 UM0144 Operators have 4 levels of precedence. Operators in level #1 (listed in Table 4) take precedence over operators in level #2 (listed in Table 5), and so on. In each level, operators have same precedence—they are evaluated from left to right. Table 4. Level 1 operators Operation Result, level #1 -a negated a a and b logical AND of A and B a or b logical OR of A and B a xor b logical XOR of A and B a shr b a shifted right b times a shl b a shifted left b times a lt b 1 if a<b, else 0 a gt b 1 if a>b, else 0 a eq b 1 if a=b, else 0 a ge b 1 if a>=b, else 0 a ne b 1 if a unequal b, else 0 high a a/256, force arg to BYTE type low a a MOD 256, force arg to BYTE type offset a a MOD 65536, force arg to WORD*16 type seg a a/65536, force arg to WORD*16 type bnot a invert low 8 bits of a wnot a invert low 16 bits of a lnot a invert all 32 bits of a sexbw a sign extend byte to 16 bits sexbl a sign extend byte a to 32 bits sexwl a sign extend word to 32 bits Table 5. Level 2 operators Operation Result, level #2 a/b a divided by b a div b a divided by b Table 6. Level 3 operators Operation Result, level #3 a * b a multiplied by b a mult b as above for motorola (character * is reserved) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |