| ??? 03/20/03 13:37 Read: times |
#41953 - RE: Is the accumulator bit addressable Responding to: ???'s previous message |
The accumlator is bit addressable so you access it in bits like ACC.5 it's 5 in AC
but to campare it with another bit in the same register that's the problem you first have to move the bit you want to compare with into another location see this data are at address 50h org 30h again:nop mov a,50h;as an example data at address 50h ANl A,#01H;MASK FOR THE PIT0 MOV 51H,A mov a,50h anl a,04h;mask for pit2 rr a rr a cjne A,50h,again nop nop end |
| Topic | Author | Date |
| Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
| RE: Is the accumulator bit addressable | 01/01/70 00:00 | |
RE: Embedded C Programmers | 01/01/70 00:00 |



