Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
33 Applied Instructions (Extension File Register Control)
33.6 INITER / Initialize ER
771
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
Function and operation explanation
1. 16-bit operation (INITER/INITERP)
"n" sectors of extension file registers (ER) in a memory cassette (flash memory) with the same device number
as the device specified by are initialized (initial value "HFFFF" (<K-1>) is writen.).
Initialization is executed in sectors.
The table below shows the head device number in each sector.
Operation example
1) Extension file registers (ER) [inside the memory cassette]
Sector number
Head device
number
Initialized device range Sector number
Head device
number
Initialized device range
Sector 0 R0 ER0 to ER2047 Sector 8 R16384 ER16384 to ER18431
Sector 1 R2048 ER2048 to ER4095 Sector 9 R18432 ER18432 to ER20479
Sector 2 R4096 ER4096 to ER6143 Sector 10 R20480 ER20480 to ER22527
Sector 3 R6144 ER6144 to ER8191 Sector 11 R22528 ER22528 to ER24575
Sector 4 R8192 ER8192 to ER10239 Sector 12 R24576 ER24576 to ER26623
Sector 5 R10240 ER10240 to ER12287 Sector 13 R26624 ER26624 to ER28671
Sector 6 R12288 ER12288 to ER14335 Sector 14 R28672 ER28672 to ER30719
Sector 7 R14336 ER14336 to ER16383 Sector 15 R30720 ER30720 to ER32767
Device number
Current value
Before
execution
After
execution
H1234 HFFFF
+1
H5678 HFFFF
+2
H90AB HFFFF
...
...
...
+(2048×n)-1
HCDEF HFFFF
Command
input
Extension register sector with the same device number
as the extension file register to be initialized.
Number of sectors of extension registers and
extension file registers to be initialized.
INITER
EN
s
n
ENO