| ??? 07/15/01 03:51 Read: times |
#13219 - The Technique In Comparing Two Register |
Since 8051 doesn't provide the instructions:
cjne rn, rn+1, relative cjne acc, rn, relative It make the job for comparing two register quite cumbersome. Usually, I compare the content of two register by using subtraction technique. That is,acc = r0-r1, check acc == 0, r0==r1 acc <0, r0<r1 acc >0, r0>r1 I was wondering whether you have any better techniques for doing this? Do share it with me. thanks regards yccheok |
| Topic | Author | Date |
| The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
| RE: The Technique In Comparing Two Register | 01/01/70 00:00 | |
RE: Reply to bordyn cheevatanakonkul | 01/01/70 00:00 |



