| ??? 07/26/00 07:01 Read: times |
#3980 - RE: "Smaller then" "Greater then&qu |
To compare one byte is easy:
MOV A,R7 ;load the value in A SUBB A,09h ;subtract 09h JC under ;is 09h greater then A, a ;carry is set JZ equal ;is the result zero Z=1 ...greater... under: equal: |
| 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 |



