| ??? 08/14/08 23:01 Read: times |
#157494 - there is nothing particularly weird about 805x Responding to: ???'s previous message |
All you have to do is to think of SFR's as I/O space and registers as paged memory ... all within the Harvard architecture, of course.
BTW, isn't the register space mapped on TOP of iRAM? that would make RB0 locations 00-07, RB1 as 08..0F, etc so you should be able to do the CJNE A, direct, rel using the explicit address of the specific-address (n*i), with i as in r(i) and n is m*8, where m is m as in RB(m). Shouldn't that allow CJNE A,iram(n+i),relative. If you define RB(m)within an ISR, then this still tracks. After all, R(i) is still iRAM(8*RB+i). You just have to figure out how to define it within context, I believe. RE |
| Topic | Author | Date |
| cjne w/ 2 registers? | 01/01/70 00:00 | |
| think i found it | 01/01/70 00:00 | |
| cjne | 01/01/70 00:00 | |
| there is nothing particularly weird about 805x | 01/01/70 00:00 | |
| I ran this through the simulator ... | 01/01/70 00:00 | |
| Looking at the code... | 01/01/70 00:00 | |
| SUBB and carry | 01/01/70 00:00 | |
Thank You | 01/01/70 00:00 |



