Assembler Syntax - Samsung S3C2501X User Manual

32-bit risc microprocessor
Table of Contents

Advertisement

S3C2501X

3.8.4 ASSEMBLER SYNTAX

Mnemonic
UMULL{cond}{S} RdLo, RdHi, Rm, Rs
UMLAL{cond}{S} RdLo, RdHi, Rm, Rs
SMULL{cond}{S} RdLo, RdHi, Rm, Rs
SMLAL{cond}{S} RdLo, RdHi, Rm, Rs
where:
{cond}
{S}
RdLo, RdHi, Rm, Rs
Examples
UMULL
UMLALS
Table 3-5. Assembler Syntax Descriptions
Unsigned multiply long
Unsigned multiply & Accumulate long
Signed multiply long
Signed multiply & Accumulate long
Two-character condition mnemonic. See Table 3-2.
Set condition codes if S present
Expressions evaluating to a register number other than R15.
R1, R4, R2, R3
R1, R5, R2, R3
Description
; R4, R1: = R2 * R3
; R5, R1: = R2 * R3 + R5, R1 also setting condition codes
INSTRUCTION SET
Purpose
32 x 32 = 64
32 x 32 + 64 = 64
32 x 32 = 64
32 x 32 + 64 = 64
3-27

Advertisement

Table of Contents
loading

Table of Contents