| ??? 02/08/07 08:27 Read: times |
#132295 - Best way to check greater than/less than |
Hi-
What is the best way to compare two bytes and see if one is greater than another? Is polling the carry bit after a subtract the way to go or is there a more obvious way? Thanks! D |
| 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 |



