How do I save the contents of registers ?
Microcomputer Frequently Asked Questions (FAQs) NO.EB9901801
- Answer
-
The contents of registers can be saved in the following two ways:
1) Using the stack area (PUSH instruction)
Example: PUSH WA *save the WA register on the stack2) Switching register banks (only applicable to products with register banks)
Example: In the case of the TLCS-900 Family
LDF 1 *switch to bank 1





