Panasonic FP-E Programming Manual page 95

Fp series
Table of Contents

Advertisement

Example 1: Changing banks using a register bank setting instruction F410
(SETB)
0
Different values can be set for I0 in bank 0, bank 1 and bank 2. The set values are only
effective within their respective ranges.
Note
For details on changing bank instruction, refer to the
explanations of F410 (SETB), F411 (CHGB) and F412 (POPB)
instructions.
Example 2: Changing banks within an interrupt program
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
R9010
F410 SETB, H 1
F410 SETB, H 1
R9010
F410 SETB, H 2
R9010
F410 SETB, H 3
END
INT 0
R9010
F411 CHGB, H2
R9010
F412 POPB
IRET
1.3
Explanation of Memory Areas
I0 to ID of
bank 0
I0 to ID of
bank 1
I0 to ID of
bank 2
I0 to ID of
bank 3
Main program
Sub program
1 - 71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents