Keil™, An ARM® Company

Device Database®

Product Information

Device Database®

Evaluation Software

Compliance Testing

Distributors

  • Overview

    Select your country for a list of the
    distributors available in your area.

Peripheral Simulation

For Infineon C509-L — Arithmetic Unit

Simulation support for this peripheral or feature is comprised of:

  • Dialog boxes which display and allow you to change peripheral configuration.

These simulation capabilities are described below.

Arithmetic Unit Dialog

Arithmetic Unit

The Arithmetic Unit performs high-speed multiply, divide, bit shift and normalize operations using an integrated MDU in the processor core.

Arithmetic Unit Group

  • ARCON (Control Register) contains the following control bits:
  • SC (Shift Count) contains the number of shifts the MDU is to perform. SC is set to zero to perform floating-point normalization on the value in MD0-MD3.
  • SLR (Shift Direction Bit) is set for right shift operation and reset for left shift operations.
  • MDOV (Overflow Flag) is set if the result from a multiply is greater than 0xFFFF, or if division by zero, or if MD3.7 is set at the start of normalization.
  • MDEF (Error Flag) is set if an arithmetic operation was interrupted by a new arithmetic operation. The register values are not valid when this condition occurs.
  • Operation displays the type of operation performed by the MDU. The order in which the MD0-MD5 registers are written and read determines the operation type.
  • MD0-MD5 (MDU Data Registers 0-5) holds the operand values for the requested arithmetic function and the resulting values after performing the requested function.
Get more information about the
Peripheral Simulation Capabilities
of the µVision Debugger.