Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
5
Table of Contents
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
10. Applied Instructions (Rotation and Shift Operation) 195
10.1 ROR / Rotation Right .............................................................................................................. 196
10.2 ROL / Rotation Left ................................................................................................................. 199
10.3 RCR / Rotation Right with Carry............................................................................................ 202
10.4 RCL / Rotation Left with Carry............................................................................................... 205
10.5 SFTR / Bit Shift Right.............................................................................................................. 208
10.6 SFTL / Bit Shift Left................................................................................................................. 210
10.7 WSFR / Word Shift Right ........................................................................................................ 213
10.8 WSFL / Word Shift Left ........................................................................................................... 216
10.9 SFWR / Shift Write [FIFO/FILO Control]................................................................................ 219
10.10 SFRD / Shift Read [FIFO Control] ........................................................................................222
11. Applied Instructions (Data Operation) 224
11.1 ZRST / Zone Reset .................................................................................................................. 225
11.2 DECO / Decode........................................................................................................................ 229
11.3 ENCO / Encode........................................................................................................................ 233
11.4 SUM / Sum of Active Bits ....................................................................................................... 236
11.5 BON / Check Specified Bit Status.......................................................................................... 239
11.6 MEAN / Mean ........................................................................................................................... 242
11.7 ANS / Timed Annunciator Set ................................................................................................ 244
11.8 ANR / Annunciator Reset ....................................................................................................... 246
11.9 SQR / Square Root.................................................................................................................. 248
11.10 FLT / Conversion to Floating Point ..................................................................................... 250
12. Applied Instructions (High Speed Processing) 254
12.1 REF / Refresh........................................................................................................................... 255
12.1.1 What should be understood before using the REF instruction .................................................. 258
12.2 REFF / Refresh and Filter Adjust........................................................................................... 259
12.2.1 What should be understood before using REFF instruction...................................................... 262
12.3 MTR / Input Matrix................................................................................................................... 263
12.3.1 Operation and cautions for MTR instruction.............................................................................. 266
12.4 DHSCS, DHSCS_I / High Speed Counter Set, High Speed Interrupt Counter Set............. 267
12.4.1 Common cautions on using instructions for high speed counter............................................... 271
12.5 DHSCR / High Speed Counter Reset..................................................................................... 275
12.6 DHSZ / High Speed Counter Zone Compare......................................................................... 279
12.6.1
Program in which comparison result is set to ON when power is turned ON [ZCP] instruction
... 283
12.6.2 Table high speed comparison mode (M8130)........................................................................... 285
12.6.3 Frequency control mode (DHSZ, DPLSY) (M8132) .................................................................. 289
12.7 SPD / Speed Detection............................................................................................................ 292
12.8 PLSY / Pulse Y Output............................................................................................................ 296
12.9 PWM / Pulse Width Modulation.............................................................................................. 303
12.10 PLSR / Acceleration/Deceleration Setup ............................................................................ 306
13. Applied Instructions (Handy Instruction) 311
13.1 IST / Initial State ...................................................................................................................... 312
13.2 SER / Search a Data Stack ..................................................................................................... 323
13.3 ABSD / Absolute Drum Sequencer........................................................................................ 327
13.4 INCD / Incremental Drum Sequencer .................................................................................... 331