ST52F510FMB6 STMICROELECTRONICS [STMicroelectronics], ST52F510FMB6 Datasheet - Page 60

no-image

ST52F510FMB6

Manufacturer Part Number
ST52F510FMB6
Description
8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST52F510/F513/F514
9 INSTRUCTION SET
ST52F510/F513/F514 supplies 107 (98 + 9 Fuzzy)
instructions that perform computations and control
the device. Computational time required for each
instruction consists of one clock pulse for each
Cycle plus 2 clock pulses for the decoding phase.
Total computation time for each instruction is
reported in Table 9.1
The ALU of ST52F510/F513/F514 can perform
multiplication
Multiplication is performed by using 8 bit operands
storing the result in 2 registers (16 bit values), see
Figure 2.3.
Division is performed between a 16 bit dividend
and an 8 bit divider, the result and the remainder
are stored in two 8-bit registers (see Figure 2.4).
9.1 Addressing Modes
ST52F510/F513/F514
following addressing modes:
Table 9.1 Instruction Set
60/106
Inherent: this instruction type does not require
an operand because the opcode specifies all the
information necessary to carry out the
instruction. Examples: NOP, SCF.
Immediate: these instructions have an operand
as a source immediate value. Examples: LDRC,
ADDI.
Direct: the operands of these instructions are
specified with the direct addresses. The
Mnemonic
BLKSET
GETPG
LDCNF
LDCE
LDCR
LDER
LDER
LDER
LDER
LDFR
LDCI
(MULT)
LDER memx,(regy)
LDER (regx),(regy)
LDCE confx,memy
LDER memx, regy
LDFR fuzzyx, regy
LDER (regx), regy
LDCNF regx, conf
LDCI confx, const
LDCR confx, regy
BLKSET const
GETPG regx
Instruction
instructions
and
division
allow
Bytes
Load Instructions
3
3
3
3
2
2
3
3
3
3
3
(DIV).
the
9.2 Instruction Types
ST52F510/F513/F514
instruction types:
The instructions are listed in Table 9.1
Cycles
8/9
operands can refer (according to the opcode) to
addresses belonging to the different addressing
spaces. Example: SUB, LDRE.
Indirect: data addresses that are required are
found in the locations specified as operands.
Both source and/or destination operands can be
addressed indirectly. The operands can refer,
(according to the opcode) to addresses
belonging to different addressing spaces.
Examples: LDRR(reg1),(reg2);
Bit Direct: operands of these instructions directly
address the bits of the specified Register File
locations. Examples: BSET, BTEST.
Load Instructions
Arithmetic and Logic Instructions
Bitwise instructions
Jump Instructions
Interrupt Management Instructions
Control Instructions
10
11
10
11
(*)
7
7
7
8
8
LDER mem_addr,(reg1).
Z
-
-
-
-
-
-
-
-
-
-
-
supplies
S
-
-
-
-
-
-
-
-
-
-
-
the
following
C
-
-
-
-
-
-
-
-
-
-
-

Related parts for ST52F510FMB6