| ??? 01/04/03 15:59 Read: times |
#35593 - Change RTC display value indirect |
Hi All,
It was since a few month that I had Question, but now i have one again. Please if you can, help me. Problem: I read the bcd value from the RTC and would store in a defined program memry location. The content of this location will be displayed by the LCD routin.It is a common LCD routin, I use this method to display other fix strings,so i dont want to change the method,if it is not necessary. The sample code is: TIMER_HOUR: DB 8Bh;position addr. of LCD *DB '1' DB '4' TIMER_MIN: DB 8Eh;position addr. of LCD DB '31' DB 000h ;end of the string char ---------------------- Question is: how can I modify the content of *-sign(e.g. adress is 04h) location from the main program. I tried the following MOV R0,#04h; MOV @R0,#'2'; But it is not working. It run without any error:) and result:( The LCD displayer routin display 1. The LCD routin is working fine,because if I modify the number at * localy, it display the modified value. Thanks for Your answere, Peter |
| Topic | Author | Date |
| Change RTC display value indirect | 01/01/70 00:00 | |
| RE: Change RTC display value indirect | 01/01/70 00:00 | |
| RE: Change RTC display value indirect | 01/01/70 00:00 | |
| RE: Change RTC display value indirect | 01/01/70 00:00 | |
| RE: Change RTC display value indirect | 01/01/70 00:00 | |
| now that is clear | 01/01/70 00:00 | |
RE: now that is clear | 01/01/70 00:00 |



