Manual Do Utilizadoríndice analíticoCHAPTER 1 OUTLINE AND CONFIGURATION EXAMPLE OF F2MC-8FX CPU131.1 Outline of F2MC-8FX CPU141.2 Configuration Example of Device Using F2MC-8FX CPU15CHAPTER 2 MEMORY SPACE172.1 CPU Memory Space182.2 Memory Space and Addressing192.2.1 Data Area212.2.2 Program Area232.2.3 Arrangement of 16-bit Data in Memory Space25CHAPTER 3 REGISTERS273.1 F2MC-8FX Registers283.2 Program Counter (PC) and Stack Pointer (SP)293.3 Accumulator (A) and Temporary Accumulator (T)303.3.1 How To Use The Temporary Accumulator (T)323.3.2 Byte Data Transfer and Operation of Accumulator (A) and Temporary Accumulator (T)333.4 Program Status (PS)353.5 Index Register (IX) and Extra Pointer (EP)383.6 Register Banks393.7 Direct Banks40CHAPTER 4 INTERRUPT PROCESSING414.1 Outline of Interrupt Operation424.2 Interrupt Enable/Disable and Interrupt Priority Functions444.3 Creating an Interrupt Processing Program464.4 Multiple Interrupt484.5 Reset Operation49CHAPTER 5 CPU SOFTWARE ARCHITECTURE515.1 Types of Addressing Modes525.2 Special Instructions55CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS596.1 ADDC (ADD Byte Data of Accumulator and Temporary Accumulator with Carry to Accumulator)606.2 ADDC (ADD Byte Data of Accumulator and Memory with Carry to Accumulator)626.3 ADDCW (ADD Word Data of Accumulator and Temporary Accumulator with Carry to Accumulator)646.4 AND (AND Byte Data of Accumulator and Temporary Accumulator to Accumulator)666.5 AND (AND Byte Data of Accumulator and Memory to Accumulator)686.6 ANDW (AND Word Data of Accumulator and Temporary Accumulator to Accumulator)706.7 BBC (Branch if Bit is Clear)726.8 BBS (Branch if Bit is Set)746.9 BC (Branch relative if C=1)/BLO (Branch if LOwer)766.10 BGE (Branch Great or Equal: relative if larger than or equal to Zero)786.11 BLT (Branch Less Than zero: relative if < Zero)806.12 BN (Branch relative if N = 1)826.13 BNZ (Branch relative if Z = 0)/BNE (Branch if Not Equal)846.14 BNC (Branch relative if C = 0)/BHS (Branch if Higher or Same)866.15 BP (Branch relative if N = 0: PLUS)886.16 BZ (Branch relative if Z = 1)/BEQ (Branch if Equal)906.17 CALL (CALL subroutine)926.18 CALLV (CALL Vectored subroutine)946.19 CLRB (Clear direct Memory Bit)966.20 CLRC (Clear Carry flag)986.21 CLRI (CLeaR Interrupt flag)1006.22 CMP (CoMPare Byte Data of Accumulator and Temporary Accumulator)1026.23 CMP (CoMPare Byte Data of Accumulator and Memory)1046.24 CMP (CoMPare Byte Data of Immediate Data and Memory)1066.25 CMPW (CoMPare Word Data of Accumulator and Temporary Accumulator)1086.26 DAA (Decimal Adjust for Addition)1106.27 DAS (Decimal Adjust for Subtraction)1126.28 DEC (DECrement Byte Data of General-purpose Register)1146.29 DECW (DECrement Word Data of Accumulator)1166.30 DECW (DECrement Word Data of Extra Pointer)1186.31 DECW (DECrement Word Data of Index Pointer)1206.32 DECW (DECrement Word Data of Stack Pointer)1226.33 DIVU (DIVide Unsigned)1246.34 INC (INCrement Byte Data of General-purpose Register)1266.35 INCW (INCrement Word Data of Accumulator)1286.36 INCW (INCrement Word Data of Extra Pointer)1306.37 INCW (INCrement Word Data of Index Register)1326.38 INCW (INCrement Word Data of Stack Pointer)1346.39 JMP (JuMP to address pointed by Accumulator)1366.40 JMP (JuMP to effective Address)1386.41 MOV (MOVE Byte Data from Temporary Accumulator to Address Pointed by Accumulator)1406.42 MOV (MOVE Byte Data from Memory to Accumulator)1426.43 MOV (MOVE Immediate Byte Data to Memory)1446.44 MOV (MOVE Byte Data from Accumulator to memory)1466.45 MOVW (MOVE Word Data from Temporary Accumulator to Address Pointed by Accumulator)1486.46 MOVW (MOVE Word Data from Memory to Accumulator)1506.47 MOVW (MOVE Word Data from Extra Pointer to Accumulator)1526.48 MOVW (MOVE Word Data from Index Register to Accumulator)1546.49 MOVW (MOVE Word Data from Program Status Register to Accumulator)1566.50 MOVW (MOVE Word Data from Program Counter to Accumulator)1586.51 MOVW (MOVE Word Data from Stack Pointer to Accumulator)1606.52 MOVW (MOVE Word Data from Accumulator to Memory)1626.53 MOVW (MOVE Word Data from Accumulator to Extra Pointer)1646.54 MOVW (MOVE Immediate Word Data to Extra Pointer)1666.55 MOVW (MOVE Word Data from Accumulator to Index Register)1686.56 MOVW (MOVE Immediate Word Data to Index Register)1706.57 MOVW (MOVE Word data from Accumulator to Program Status Register)1726.58 MOVW (MOVE Immediate Word Data to Stack Pointer)1746.59 MOVW (MOVE Word data from Accumulator to Stack Pointer)1766.60 MULU (MULtiply Unsigned)1786.61 NOP (NoOPeration)1806.62 OR (OR Byte Data of Accumulator and Temporary Accumulator to Accumulator)1826.63 OR (OR Byte Data of Accumulator and Memory to Accumulator)1846.64 ORW (OR Word Data of Accumulator and Temporary Accumulator to Accumulator)1866.65 PUSHW (PUSH Word Data of Inherent Register to Stack Memory)1886.66 POPW (POP Word Data of Intherent Register from Stack Memory)1906.67 RET (RETurn from subroutine)1926.68 RETI (RETurn from Interrupt)1946.69 ROLC (Rotate Byte Data of Accumulator with Carry to Left)1966.70 RORC (Rotate Byte Data of Accumulator with Carry to Right)1986.71 SUBC (SUBtract Byte Data of Accumulator from Temporary Accumulator with Carry to Accumulator)2006.72 SUBC (SUBtract Byte Data of Memory from Accumulator with Carry to Accumulator)2026.73 SUBCW (SUBtract Word Data of Accumulator from Temporary Accumulator with Carry to Accumulator)2046.74 SETB (Set Direct Memory Bit)2066.75 SETC (SET Carry flag)2086.76 SETI (SET Interrupt flag)2106.77 SWAP (SWAP Byte Data Accumulator "H" and Accumulator "L")2126.78 XCH (eXCHange Byte Data Accumulator "L" and Temporary Accumulator "L")2146.79 XCHW (eXCHange Word Data Accumulator and Extrapointer)2166.80 XCHW (eXCHange Word Data Accumulator and Index Register)2186.81 XCHW (eXCHange Word Data Accumulator and Program Counter)2206.82 XCHW (eXCHange Word Data Accumulator and Stack Pointer)2226.83 XCHW (eXCHange Word Data Accumulator and Temporary Accumulator)2246.84 XOR (eXclusive OR Byte Data of Accumulator and Temporary Accumulator to Accumulator)2266.85 XOR (eXclusive OR Byte Data of Accumulator and Memory to Accumulator)2286.86 XORW (eXclusive OR Word Data of Accumulator and Temporary Accumulator to Accmulator)230APPENDIX233APPENDIX A Instruction List234A.1 F2MC-8FX CPU Instruction Overview235A.2 Operation List238A.3 Flag Change Table245APPENDIX B Bus Operation List252APPENDIX C Instruction Map263Tamanho: 2 MBPáginas: 272Language: EnglishAbrir o manual