Toshiba Corporation Semiconductor & Storage Products Company
HOME > Products > Microcomputer > Design Support > Frequently Asked Questions (FAQs) > Functions and Specifications > How to Use Products

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 stack

2)  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

Top of this page