??? 04/15/10 19:47 Read: times |
#175072 - direct access to >80h => SFR Responding to: ???'s previous message |
MOV 96h,R5 ; Put the code of the key that has benn pressed, at memory No. This is a direct access, which for addresses >80h accesses the SFR area rather than memory. Also we don't know what is your mcu - do you have >128 bytes internal memory at all? If you do, you can access the >80h memory only through indirect access, i.e. through @Rn. This may be not the only problem, but this is certainly fatal. JW |
Topic | Author | Date |
Problem with succesive memory locations | 01/01/70 00:00 | |
Debugging | 01/01/70 00:00 | |
How can i see the code of pressed key | 01/01/70 00:00 | |
Turn them into ASCII | 01/01/70 00:00 | |
Or use 2 characters | 01/01/70 00:00 | |
direct access to >80h => SFR | 01/01/70 00:00 | |
incorrect addressing method | 01/01/70 00:00 | |
(back to) basics - "bible" time | 01/01/70 00:00 | |
Hal Albach's way | 01/01/70 00:00 | |
It works | 01/01/70 00:00 | |
You are not showing enough | 01/01/70 00:00 | |
the danger of uniformity![]() | 01/01/70 00:00 |