Instruction Cycle Times; Assembler Syntax - Samsung S3C2500B User Manual

Table of Contents

Advertisement

S3C2500B

3.5.7 INSTRUCTION CYCLE TIMES

Data processing instructions vary in the number of incremental cycles taken as follows:
Normal data processing
Data processing with register specified shift
Data processing with PC written
Data processing with register specified shift and PC written
NOTE: S, N and I are as defined sequential (S-cycle), non-sequential (N-cycle), and internal (I-cycle) respectively.

3.6.8 ASSEMBLER SYNTAX

— MOV,MVN (single operand instructions).
<opcode>{cond}{S} Rd,<Op2>
— CMP,CMN,TEQ,TST (instructions which do not produce a result).
<opcode>{cond} Rn,<Op2>
— AND,EOR,SUB,RSB,ADD,ADC,SBC,RSC,ORR,BIC
<opcode>{cond}{S} Rd,Rn,<Op2>
where:
<Op2>
{cond}
{S}
Rd, Rn and Rm
<#expression>
<shift>
<shiftname>s
Table 3-4. Incremental Cycle Times
Processing Type
Rm{,<shift>} or,<#expression>
A two-character condition mnemonic. See Table 3-2.
Set condition codes if S present (implied for CMP, CMN, TEQ, TST).
Expressions evaluating to a register number.
If this is used, the assembler will attempt to generate a shifted immediate 8-bit field
to match the expression. If this is impossible, it will give an error.
<Shiftname> <register> or <shiftname> #expression, or RRX (rotate right one bit
with extend).
ASL, LSL, LSR, ASR, ROR. (ASL is a synonym for LSL, they assemble to the same
code.)
INSTRUCTION SET
Cycles
1S
1S + 1I
2S + 1N
2S + 1N + 1I
3-17

Advertisement

Table of Contents
loading

Table of Contents