| ??? 03/13/02 13:52 Read: times |
#20789 - RE: 16 bit shift left |
Hi Juan,
>....I want to be able to put a 1 in bit 0 >of a word and shift left up to 15 times >without going thru carry and without having >carry going into bit 0 Yes, it is possible...but a little bit tricky and too complicated. You have just to use INC DPTR instruction. To shift 1 from bit 0 to bit 1 implement it twice, to shift 1 from bit 1 to bit 2 implement it 4 times and so on. Hope it helps. Regards, George |
| Topic | Author | Date |
| 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| RE: 16 bit shift left | 01/01/70 00:00 | |
| But why not the carry bit? | 01/01/70 00:00 | |
| RE:16 bit shift left | 01/01/70 00:00 | |
| RE: RE:16 bit shift left | 01/01/70 00:00 | |
| RE: RE:16 bit shift left | 01/01/70 00:00 | |
RE: RE:16 bit shift left | 01/01/70 00:00 |



