??? 02/08/05 16:28 Read: times |
#86940 - Interesting Responding to: ???'s previous message |
Robert Henneke said:
Thank you all for your comment.
I use the routine P2toA in Flash to get the right value of P2. Just as Peter suggested. Also I can use the code (if in external CODE) PUSH P2 POP ACC to put PCh in A Have a nice day Robert A very interesting thread. It seems to imply that P2 is always loaded with PCh as far as the push instruction is concerned. So what happens if you do a read/modify/write instruction like INC on P2? Does it affect the PC? Does this behavious change if you do not have external memory? Ian |
Topic | Author | Date |
P2:R0 as memory pointer | 01/01/70 00:00 | |
Read the cpu data! | 01/01/70 00:00 | |
P2 readback | 01/01/70 00:00 | |
Re | 01/01/70 00:00 | |
Thank you all | 01/01/70 00:00 | |
Interesting | 01/01/70 00:00 | |
very well described | 01/01/70 00:00 | |
This is NOT in the | 01/01/70 00:00 | |
ch3 pg 6 | 01/01/70 00:00 | |
none of them | 01/01/70 00:00 | |
more | 01/01/70 00:00 | |
An experiment - AT89C8252 | 01/01/70 00:00 | |
not necessarily | 01/01/70 00:00 | |
sure not necessarily | 01/01/70 00:00 | |
talking about memory | 01/01/70 00:00 | |
MOVX multiplexed with P2 SFR data | 01/01/70 00:00 | |
Now I say: HUH | 01/01/70 00:00 | |
huh | 01/01/70 00:00 | |
Thank you | 01/01/70 00:00 | |
what datasheet says | 01/01/70 00:00 | |
I should've RTFM... :-) | 01/01/70 00:00 | |
not too much logic | 01/01/70 00:00 | |
sure | 01/01/70 00:00 | |
The horses mouth | 01/01/70 00:00 | |
horse is plural | 01/01/70 00:00 | |
I'd be happy to ... | 01/01/70 00:00 | |
can't find them | 01/01/70 00:00 | |
As you use to say :)![]() | 01/01/70 00:00 | |
another note | 01/01/70 00:00 |