| ??? 12/20/01 07:46 Read: times |
#17849 - RE: case statement using assy |
Spencer,
Are you saying you want to implement in assembler a 'C' type switch construct (which uses 'case') ? C compilers produce code in two different ways--depending on the sparseness of the case values and the compile optimization settings. For fast speed and sometimes at a space loss, a jump table is used where the switch'ed value is simply an index into the jump table. The other method, is simply doing a linear test for each of the case values untill a match is found. This would use the cjne as you have mentioned. <>< Lance. |
| Topic | Author | Date |
| case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
| RE: case statement using assy - spencer | 01/01/70 00:00 | |
| RE: case statement using assy | 01/01/70 00:00 | |
RE: case statement using assy | 01/01/70 00:00 |



