| ??? 07/26/00 06:09 Read: times |
#3977 - "Smaller then" "Greater then" |
Many tiem I need to test the byte at lesser then or greater then. But I do not know how carry out instructions in assembly effeciantly.
For example, I want to test whether R7 value is lesser then 09h or equals to 09h. If not less or equal jmp to .... Same thing for Greater then equation. Right now I am using a stupid method by using CJNE and compares every possible number.. in above example from 00h to 09h one by one. I think is not normal. There should be some algoritham for carry out this operation efficiantly. Can any body help me on that... Jay.. Steve.. Peter... ??? Rauf |
| Topic | Author | Date |
| "Smaller then" "Greater then" | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&qu | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&qu | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&qu | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&am | 01/01/70 00:00 | |
| Range Comparison on the 8051 | 01/01/70 00:00 | |
| Range Comparison on the 8051 | 01/01/70 00:00 | |
| RE: Range Comparison on the 8051 | 01/01/70 00:00 | |
| RE: Range Comparison on the 8051 | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&qu | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&am | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&am | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&am | 01/01/70 00:00 | |
| RE: "Smaller then" "Greater then&am | 01/01/70 00:00 | |
END OF THREAD | 01/01/70 00:00 |



