| ??? 02/08/07 08:56 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#132297 - do you mean '51 assembler? Responding to: ???'s previous message |
Have a look at cjne
It has 4 forms cjne A,#data,displacement cjne A,direct,displacement cjne Rx,#data,displacement cjne @Rn,#data,displacement Note that it sets C appropriately, so with 2 instructions (cjne and jc/jnc) you can branch into all 3 ways (<, >, =) and of course any combinations of those. JW |
| Topic | Author | Date |
| Best way to check greater than/less than | 01/01/70 00:00 | |
| greater than or equal | 01/01/70 00:00 | |
| do you mean '51 assembler? | 01/01/70 00:00 | |
| Thanks! | 01/01/70 00:00 | |
| reading and glancing at the CJNE | 01/01/70 00:00 | |
| answer | 01/01/70 00:00 | |
| i need to compare two numbers........ | 01/01/70 00:00 | |
| Strange question! | 01/01/70 00:00 | |
| Eh? | 01/01/70 00:00 | |
| Best way to check greater than/less than | 01/01/70 00:00 | |
| Best way to check greater than/less than | 01/01/70 00:00 | |
| why not just this | 01/01/70 00:00 | |
| Ok, thanks. This looks better. | 01/01/70 00:00 | |
| error/mistake | 01/01/70 00:00 | |
| I see | 01/01/70 00:00 | |
| exactly! | 01/01/70 00:00 | |
| sure | 01/01/70 00:00 | |
| neubular direct | 01/01/70 00:00 | |
1) wonderful 2)why, it is valid | 01/01/70 00:00 | |
| Newb | 01/01/70 00:00 |



