| ??? 10/26/02 09:05 Read: times |
#31441 - RE: Difference? |
yzeeir yzeeir wrote: ------------------------------- I did not get a result from above replys! Where I should use ACC and where A? (except bit operations that I should use ACC) hi yzeeir; ACC is most frequently used register.you shall find many instructions like add,subb,mul,div,movx,mov where the instruction contains 'A'.this means acc register is hardwired for these.in such instructions where acc is always one of the operands you shall use 'A'. for general instructions like push,pop(which need not involve acc)and addressing bits in bit settable registers you shall use 'ACC'.this is because these instructions are not acc. specific i.e.the operands are not assumed. this said and done i don't find any justification of using MOV Rn,ACC unless one is trying to build his 8052 like chip in hardware and MOV Rn,A is not part of it:-) pranav |
| Topic | Author | Date |
| Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
| RE: Difference? | 01/01/70 00:00 | |
RE: Difference? | 01/01/70 00:00 |



