ページ1に含まれる内容の要旨
FUJITSU MICROELECTRONICS
CM71-00105-1E
CONTROLLER MANUAL
FR81 Family
32-BIT MICROCONTROLLER
PROGRAMMING MANUAL
ページ2に含まれる内容の要旨
ページ3に含まれる内容の要旨
FR81 Family 32-BIT MICROCONTROLLER PROGRAMMING MANUAL For the information for microcontroller supports, see the following web site. http://edevice.fujitsu.com/micom/en-support/ FUJITSU MICROELECTRONICS LIMITED
ページ4に含まれる内容の要旨
ページ5に含まれる内容の要旨
PREFACE ■ Objectives and targeted reader FR81 Family is a 32 bit single chip microcontroller with CPU of new RISC Architecture as the core. FR81 Family has specifications that are optimum for embedded use requiring high performance CPU processing power. This manual explains the programming model and execution instructions for engineers developing a product using this FR81 Family Microcontroller, especially the programmers who produce programs using assembly language of the assembler for FR/FR80
ページ6に含まれる内容の要旨
• The contents of this document are subject to change without notice. Customers are advised to consult with sales representatives before ordering. � The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of FUJITSU MICROELECTRONICS device; FUJITSU MICROELECTRONICS does not warrant proper operation of the device with respect to use based on such information.
ページ7に含まれる内容の要旨
CONTENTS CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU ............................................................ 1 1.1 Features of FR81 Family CPU ............................................................................................................ 2 1.2 Changes from the earlier FR Family ................................................................................................... 4 CHAPTER 2 MEMORY ARCHITECTURE ........................................................................ 7 2
ページ8に含まれる内容の要旨
CHAPTER 4 RESET AND "EIT" PROCESSING ............................................................ 41 4.1 Reset ................................................................................................................................................ 42 4.2 Basic Operations in EIT Processing ................................................................................................. 43 4.2.1 Types of EIT Processing and Prior Preparation ..............................................
ページ9に含まれる内容の要旨
5.3.1 Occurrence of data hazard .......................................................................................................... 74 5.3.2 Register Bypassing ...................................................................................................................... 74 5.3.3 Interlocking .................................................................................................................................. 75 5.3.4 Interlocking produced by reference to R15 after Chan
ページ10に含まれる内容の要旨
7.15 ASR (Arithmetic shift to the Right Direction) ................................................................................... 133 7.16 ASR2 (Arithmetic shift to the Right Direction) ................................................................................. 135 7.17 BANDH (And 4bit Immediate Data to Higher 4bit of Byte Data in Memory) ................................... 137 7.18 BANDL (And 4bit Immediate Data to Lower 4bit of Byte Data in Memory) ...............................
ページ11に含まれる内容の要旨
7.61 EXTUB (Unsign Extend from Byte Data to Word Data) .................................................................. 225 7.62 EXTUH (Unsign Extend from Byte Data to Word Data) .................................................................. 227 7.63 FABSs (Single Precision Floating Point Absolute Value) ............................................................... 229 7.64 FADDs (Single Precision Floating Point Add) .......................................................................
ページ12に含まれる内容の要旨
7.108 LDI:8 (Load Immediate 8bit Data to Destination Register) ............................................................. 300 7.109 LDM0 (Load Multiple Registers) ..................................................................................................... 302 7.110 LDM1 (Load Multiple Registers) ..................................................................................................... 304 7.111 LDUB (Load Byte Data in Memory to Register) ................................
ページ13に含まれる内容の要旨
7.155 ST (Store Word Data in Register to Memory) ................................................................................. 390 7.156 ST (Store Word Data in Program Status Register to Memory) ....................................................... 392 7.157 STB (Store Byte Data in Register to Memory) ................................................................................ 394 7.158 STB (Store Byte Data in Register to Memory) ........................................................
ページ14に含まれる内容の要旨
x
ページ15に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU This chapter describes the features of FR81 Family CPU and the changes from the earlier FR Family. 1.1 Features of FR81 Family CPU 1.2 Changes from the earlier FR Family CM71-00105-1E FUJITSU MICROELECTRONICS LIMITED 1
ページ16に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU 1.1 FR81 Family 1.1 Features of FR81 Family CPU FR81 Family CPU is meant for 32 bit RISC controller having proprietary FR81 architecture of Fujitsu. The FR81 architecture is optimized for microcontrollers by using the FR family instruction set and including improved floating-point, memory protection, and debug functions. ■ General-purpose Register Architecture It is load/store architecture based on 16 numbers of 32-bit General-purpose registers R0 to R15.
ページ17に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU 1.1 FR81 Family ■ Harvard Architecture An instruction can be executed efficiently based on Harvard Architecture where instruction bus for instruction access and data bus for data access are independent. ■ Multiplication Instruction Multiplication/division computation can be executed at the instruction level based on an in-built multiplier. 32-bit multiplication, signed or unsigned, is executed in 5 cycles. 16-bit multiplication is executed in 3 cycles. ■
ページ18に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU 1.2 FR81 Family 1.2 Changes from the earlier FR Family FR81 Family has partial addition and deletion of instructions and operational changes from the earlier FR Family (FR30 Family, FR60 Family etc.). ■ Instructions that cannot be used in FR81/FR80 Family Following instructions cannot be used in FR81/FR80 Family. � Coprocessor Instructions (COPOP, COPLD, COPST, COPSV) � Resource Instructions (LDRES, STRES) Undefined Instruction Exceptions and not the Copr
ページ19に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU 1.2 FR81 Family ■ Operation of INTE Instructions during Step Execution In FR81 Family, trap processing is initiated based on INTE instructions even during step execution based on step trace trap. In hitherto FR Family, trap processing is not initiated based on INTE instructions during step execution. For trap processing based on step trace trap and INTE instructions, see “4.6 Traps”. CM71-00105-1E FUJITSU MICROELECTRONICS LIMITED 5
ページ20に含まれる内容の要旨
CHAPTER 1 OVERVIEW OF FR81 FAMILY CPU 1.2 FR81 Family 6 FUJITSU MICROELECTRONICS LIMITED CM71-00105-1E