| ??? 04/15/10 11:04 Read: times |
#175052 - Preserving registers Responding to: ???'s previous message |
Chris Papadopoulos said:
If I give a price [value?] to R0 before
i call scan2 routine, and inc R0 after i call the scan2 what will be the result That will depend entirely upon whether or not the scan2 routine modifies R0! This is why it is Good Practice to always document which registers a routine modifies - and any other "side effects"... |
| Topic | Author | Date |
| Errors with indirect registers | 01/01/70 00:00 | |
| MOV @R7,96h | 01/01/70 00:00 | |
| using R0 in an other routine | 01/01/70 00:00 | |
Preserving registers | 01/01/70 00:00 |



