| Electronic Components Datasheet Search |
|
ST20-C1 Datasheet(PDF) 182 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-C1 Datasheet(HTML) 182 Page - STMicroelectronics |
|
182 / 205 page ![]() 182/205 ® } else if (X > cm) ... similar else ... jump table code where jump table code is X; ldc ci; sub; ldc jump_size; mul; ldc (jump_table-M); ldpi M: add; jab; jump_table: j case_0; j case_1; ... ; j case_k ERROR: ... error code Li: ... code for Pi ... Lm: ... code for Pm The code at jump_table consists of a sequence of jump instructions which transfer control to the relevant branch Li ... Lm or to ERROR. The destination, case_x,of each of these jumps is Lj if cj is equal to (ci + x) and is ERROR otherwise. The code at ERROR should be the same code as used at the end of an IF statement where all the conditionals have been false. The add, ldpi and jab instructions are explained in other sections. All the jumps in the jump_table code must be encoded to the same length (jump_size bytes) to enable them to be accessed as a byte array. nop, which is a two byte instruc- tion that performs no operation, can be used to ensure this where different operands require a different amount of prefixing. Also note that in the special case where jump_size is 1, ‘ldc jump_size; mul’ can be removed from the sequence, and where jump_size is 4, ‘ldc jump_size; mul’ can be removed provided add is replaced with wsub. C.3 Expression evaluation order Let depth(e) be the number of stack locations needed for the evaluation of expression e, defined b y depth(constant) = 1 depth(variable) = 1 depth(function call) = ‘infinite’ depth(e1 op e2) = if (depth(e1) > depth(e2)) depth(e1) else if (depth(e1) < depth(e2)) depth(e2) else depth(e1) + 1 That is, if the depth required for each expression is the same, then one extra stack location is required to store the result of the first expression, while the second expres- sion is being evaluated. If the stack requirements for each expression are different, |
|
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 |