Appendix 5.3.3 Program Replacement Examples - Mitsubishi Q00JCPU User Manual

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

APPENDICES

Appendix 5.3.3 Program Replacement Examples

This section shows program replacement examples for the instructions of which
replacement programs are available in Appendix 5.3. (If instructions listed in Appendix 5.3
are not used in the program, it is not necessary to be conscious of the description in this
section.)
(1) Replacement example of the IX and IXEND instructions
A replacement example of program using the IX and IXEND instructions is shown
below.
Since index registers are saved using the ZPUSH instruction, a 23-word index
register save area is required.
(a) Example of device assignment
Index modification table
If the device numbers in the example above are used for other applications,
assign unused device numbers instead.
(b) Program before replacement
Appendix 5 Method of replacing High Performance model QCPU with Universal model QCPU
TableApp.67 Example of device assignment
Before replacement
Application
Device
D100 to 115
Figure App.1 Sample program
After replacement
Application
Index modification table
Index register save area
The modification value set in the
index modification table is added.
Modification target
(No change required)
9
10
11
Device
D100 to D115
12
D200 to D222
App
- 126

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents