Renesas M32R-FPU user manual

User manual for the device Renesas M32R-FPU

Device: Renesas M32R-FPU
Category: Stereo System
Manufacturer: Renesas
Size: 0.49 MB
Added : 12/26/2013
Number of pages: 192
Print the manual

Download

How to use this site?

Our goal is to provide you with a quick access to the content of the user manual for Renesas M32R-FPU. Using the online preview, you can quickly view the contents and go to the page where you will find the solution to your problem with Renesas M32R-FPU.

For your convenience

If looking through the Renesas M32R-FPU user manual directly on this website is not convenient for you, there are two possible solutions:

  • Full Screen Viewing - to easily view the user manual (without downloading it to your computer), you can use full-screen viewing mode. To start viewing the user manual Renesas M32R-FPU on full screen, use the button Fullscreen.
  • Downloading to your computer - You can also download the user manual Renesas M32R-FPU to your computer and keep it in your files. However, if you do not want to take up too much of your disk space, you can always download it in the future from ManualsBase.
Renesas M32R-FPU User manual - Online PDF
Advertisement
« Page 1 of 192 »
Advertisement
Print version

Many people prefer to read the documents not on the screen, but in the printed version. The option to print the manual has also been provided, and you can use it by clicking the link above - Print the manual. You do not have to print the entire manual Renesas M32R-FPU but the selected pages only. paper.

Summaries

Below you will find previews of the content of the user manuals presented on the following pages to Renesas M32R-FPU. If you want to quickly view the content of pages found on the following pages of the manual, you can use them.

Abstracts of contents
Summary of the content on the page No. 1

REJ09B0112-0101Z
M32R-FPU
32 Software Manual
RENESAS 32-BIT RISC SINGLE-CHIP MICROCOMPUTER
Before using this material, please visit our website to confirm that this is the most
current document available.
Rev. 1.01
Revision date: Oct 31, 2003 www.renesas.com

Summary of the content on the page No. 2

Keep safety first in your circuit designs! • Renesas Technology Corporation puts the maximum effort into making semiconductor prod- ucts better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with ap- propriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non- fl

Summary of the content on the page No. 3

REVISION HISTORY M32R-FPU Software Manual Rev. Date Description Page Summary 1.00 Jan 08, 2003 – First edition issued 1.01 Oct 31, 2003 APPENDICES-3 Hexadecimal Instruction Code Table corrected (BTST instruction) APPENDICES-8 Appendix Figure 3.1.1 corrected Incorrect) *The E1 stage of the FDIV instruction requires 13 cycles. Correct) *The E1 stage of the FDIV instruction requires 14 cycles. APPENDICES-10 Appendix Figure 3.2.1 corrected Incorrect) LD1 Correct) LDI APPENDICES-13 Append

Summary of the content on the page No. 4

Table of contents CHAPTER 1 CPU PROGRAMMING MODEL 1.1 CPU register .......................................................................................................... 1-2 1.2 General-purpose registers ...................................................................................... 1-2 1.3 Control registers ..................................................................................................... 1-3 1.3.1 Processor status word register: PSW (CR0) .....................

Summary of the content on the page No. 5

CHAPTER 3 INSTRUCTIONS 3.1 Conventions for instruction description ................................................................... 3-2 3.2 Instruction description ............................................................................................. 3-5 APPENDIX Appendix 1 Hexadecimal Instraction Code .................................................................. Appendix-2 Appendix 2 Instruction List.............................................................................

Summary of the content on the page No. 6

This page left blank intentionally. M32R-FPU Software Manual (Rev.1.01)

Summary of the content on the page No. 7

CHAPTER 1 CPU PROGRAMMIING MODEL 1.1 CPU Register 1.2 General-purpose Registers 1.3 Control Registers 1.4 Accumulator 1.5 Program Counter 1.6 Data Format 1.7 Addressing Mode

Summary of the content on the page No. 8

CPU PROGRAMMING MODEL 1 1.1 CPU Register 1.1 CPU Register The M32R family CPU, with a built-in FPU (herein referred to as M32R-FPU) has 16 general-purpose registers, 6 control registers, an accumulator and a program counter. The accumulator is of 56-bit configuration, and all other registers are a 32- bit configuration. 1.2 General-purpose Registers The 16 general-purpose registers (R0 – R15) are of 32-bit width and are used to retain data and base addresses, as well as for integer calculations,

Summary of the content on the page No. 9

CPU PROGRAMMING MODEL 1 1.3 Control Registers 1.3 Control Registers There are 6 control registers which are the Processor Status Word Register (PSW), the Condition Bit Register (CBR), the Interrupt Stack Pointer (SPI), the User Stack Pointer (SPU), the Backup PC (BPC) and the Floating-point Status Register (FPSR). The dedicated MVTC and MVFC instructions are used for writing and reading these control registers. In addition, the SM bit, IE bit and C bit of the PSW can also be set by the SETPSW in

Summary of the content on the page No. 10

CPU PROGRAMMING MODEL 1 1.3 Control Registers 1.3.1 Processor Status Word Register: PSW (CR0) b0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 b15 0000 00 0 0 0 0000000 b16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 b31 BSM BIE BC SM IE C ? ? 00000?00000000 BPSW field PSW field < At reset release: "B'0000 0000 0000 0000 ??00 000? 0000 0000 > b Bit Name Function R W 0-15 No function assigned. Fix to "0". 0 0 16 BSM Saves value of SM bit when EIT occurs R W Backup SM Bit 17 BIE Saves value of IE bit when EIT oc

Summary of the content on the page No. 11

CPU PROGRAMMING MODEL 1 1.3 Control Registers 1.3.2 Condition Bit Register: CBR (CR1) The Condition Bit Register (CBR) is derived from the PSW register by extracting its Condition (C) bit. The value written to the PSW register's C bit is reflected in this register. The register can only be read. (Writing to the register with the MVTC instruction is ignored.) At reset release, the value of CBR is "H'0000 0000". b0 b31 CBR 0 0 00 00 00 00 0 0 0 0 0 0 0 0 000 0 00 0 0 000 0 0 C 1.3.3 Interrupt Stac

Summary of the content on the page No. 12

CPU PROGRAMMING MODEL 1 1.3 Control Registers 1.3.5 Floating-point Status Register: FPSR (CR7) b0 1 23456789 10 11 12 13 14 b15 FS FX FU FZ FO FV 0000 0 0 0 0 0 0 000000 b16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 b31 EZ EO EV DN CE CX CU CZ CO CV RM EX EU 0 0 00000100000000 b Bit Name Function R W 0 FS Reflects the logical sum of FU, FZ, FO and FV. R – Floating-point Exception Summary Bit 1 FX Set to "1" when an inexact exception occurs R W Inexact Exception Fla

Summary of the content on the page No. 13

CPU PROGRAMMING MODEL 1 1.3 Control Registers 21 EV 0: Mask EIT processing to be executed when an R W Invalid Operation Exception invalid operation exception occurs Enable Bit 1: Execute EIT processing when an invalid operation exception occurs 22 No function assigned. Fix to "0". 0 0 23 DN 0: Handle the denormalized number as a R W Denormalized Number Zero denormalized number Flash Bit (Note 2) 1: Handle the denormalized number as zero 24 CE 0: No unimplemented operation exception occ

Summary of the content on the page No. 14

CPU PROGRAMMING MODEL 1 1.3 Control Registers 1.3.6 Floating-point Exceptions (FPE) Floating-point Exception (FPE) occurs when Unimplemented Exception (UIPL) or one of the five exceptions specified in the IEEE754 standard (OVF/UDF/IXCT/ DIV0/IVLD) is detected. Each exception processing is outlined below. (1) Overflow Exception (OVF) The exception occurs when the absolute value of the operation result exceeds the largest describable precision in the floating-point format. The following table show

Summary of the content on the page No. 15

CPU PROGRAMMING MODEL 1 1.3 Control Registers (3) Inexact Exception (IXCT) The exception occurs when the operation result differs from a result led out with an infinite range of precision. The following table shows the operation results and the respective conditions in which each IXCT occurs. Operation Result (Content of the Destination Register) Occurrence Condition When the IXCT EIT processing is When the IXCT EIT processing is masked (Note 1) executed (Note 2) Overflow occurs in OVF Reference

Summary of the content on the page No. 16

CPU PROGRAMMING MODEL 1 1.3 Control Registers (5) Invalid Operation Exception (IVLD) The exception occurs when an invalid operation is executed. The following table shows the operation results and the respective conditions in which each IVLD occurs. Occurrence Condition Operation Result (Content of the Destination Register) When the IVLD EIT processing When the IVLD EIT is masked (Note 1) processing is executed (Note 2) Operation for SNaN operand +infinity -(+infinity), -infinity -(-infinity) QN

Summary of the content on the page No. 17

CPU PROGRAMMING MODEL 1 1.4 Accumulator 1.4 Accumulator The Accumulator (ACC) is a 56-bit register used for DSP function instructions. The accumulator is handled as a 64-bit register when accessed for read or write. When reading data from the accumulator, the value of bit 8 is sign-extended. When writing data to the accumulator, bits 0 to 7 are ignored. The accumulator is also used for the multiply instruction "MUL", in which case the accumulator value is destroyed by instruction execution. Use

Summary of the content on the page No. 18

CPU PROGRAMMING MODEL 1 1.6 Data Format 1.6 Data Format 1.6.1 Data Type The data types that can be handled by the M32R-FPU instruction set are signed or unsigned 8, 16, and 32-bit integers and single-precision floating-point numbers. The signed integers are represented by 2's complements. b0 b7 signed byte (8-bit) integer S b0 b7 unsigned byte (8-bit) integer b0 b15 signed halfword (16-bit) integer S b0 b15 unsigned halfword (16-bit) integer b0 b31 signed word (32-bit) integer S b0 b31 unsigned

Summary of the content on the page No. 19

CPU PROGRAMMING MODEL 1 1.6 Data Format 1.6.2 Data Format (1) Data format in a register The data sizes in the M32R-FPU registers are always words (32 bits). When loading byte (8-bit) or halfword (16-bit) data from memory into a register, the data is sign-extended (LDB, LDH instructions) or zero-extended (LDUB, LDUH instructions) to a word (32-bit) quantity before being loaded into the register. When storing data from a register into a memory, the 32-bit data, the 16-bit data on the LSB side and

Summary of the content on the page No. 20

CPU PROGRAMMING MODEL 1 1.6 Data Format (2) Data format in memory The data sizes in memory can be byte (8 bits), halfword (16 bits) or word (32 bits). Although byte data can be located at any address, halfword and word data must be located at the addresses aligned with a halfword boundary (least significant address bit = "0") or a word boundary (two low-order address bits = "00"), respectively. If an attempt is made to access memory data that overlaps the halfword or word boundary, an address e


Alternative user manuals
# User manual Category Download
1 Renesas H8SX/1668R User manual Stereo System 0
2 Renesas R8C/25 User manual Stereo System 2
3 Renesas SH7709S User manual Stereo System 2
4 Sony 3-287-077-14(2) User manual Stereo System 128
5 Sony 3-300-703-11(2) User manual Stereo System 16
6 Sony 3-452-364-11(1) User manual Stereo System 6
7 Sony 3-294-663-11(2) User manual Stereo System 7
8 Sony 3-CD DOUBL MHC-RG290 User manual Stereo System 179
9 Sony 4-183-777-12(1) User manual Stereo System 9
10 Sony 3-293-639-11(1) User manual Stereo System 4
11 Sony 4-199-697-12(1) User manual Stereo System 3
12 Sony 3-097-196-14(1) User manual Stereo System 5
13 Sony 3-097-194-15(1) User manual Stereo System 2
14 Sony 4-130-433-13(2) User manual Stereo System 0
15 Sony AVD-S50ES User manual Stereo System 5