| Electronic Components Datasheet Search |
|
UM0438 Datasheet(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0438 Datasheet(HTML) 37 Page - STMicroelectronics |
|
37 / 50 page ![]() UM0438 Simplified mnemonics for VLE instructions 37/50 As with branch mnemonics, the crD field of a compare instruction can be omitted if CR0 is used, as shown in examples 1 nd 3 below. Otherwise, the target CR field must be specified as the first operand. The following examples use word compare mnemonics: 1. Compare rA with immediate value 100 as signed 32-bit integers and place result in CR0. e_cmpwi rA,100 equivalent to e_cmp16i rA,100 2. Same as (1), but place results in CR4. e_cmpwi cr3,rA,100 equivalent to e_cmpi 3,rA,100 3. Compare rA and rB as unsigned 32-bit integers and place result in CR0. cmplw rA,rB equivalent to cmpl 0,0,rA,rB A.7 Trap instructions simplified mnemonics The codes in Table 28 are for the most common combinations of trap conditions. The mnemonics in Table 29 are variations of trap instructions, with the most useful TO values represented in the mnemonic rather than specified as a numeric operand. Table 28. Standard codes for trap instructions Code Description TO Encoding < > = <U(1) 1. The symbol ‘<U’ indicates an unsigned less-than evaluation is performed. >U(2) 2. The symbol ‘>U’ indicates an unsigned greater-than evaluation is performed. lt Less than 16 1 0000 le Less than or equal 20 1 0100 eq Equal 4 0 0100 ge Greater than or equal 12 0 1100 gt Greater than 8 0 1000 nl Not less than 12 0 1100 ne Not equal 24 1 1000 ng Not greater than 20 1 0100 llt Logically less than 2 0 0010 lle Logically less than or equal 6 0 0110 lge Logically greater than or equal 5 0 0101 lgt Logically greater than 1 0 0001 lnl Logically not less than 5 0 0101 lng Logically not greater than 6 0 0110 — Unconditional 31 1 1111 |
|
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 |