| ??? 03/02/07 20:08 Read: times |
#134145 - Ok, thanks. This looks better. Responding to: ???'s previous message |
rl A
cjne A,7,NOT7 ; A is never 7! Just affect C
NOT7: jc USE0_3 ; use 0-3 when A < 7
add A,#IM4_7+8 ; otherwise use 4-7
jmp OVR0_3
USE0_3: add A,#IM0_3+8
OVR0_3: mov R0,A
|
| 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 |



