s3c72m9 Samsung Semiconductor, Inc., s3c72m9 Datasheet - Page 181

no-image

s3c72m9

Manufacturer Part Number
s3c72m9
Description
The S3c72m5/s3c72m7/s3c72m9 Single-chip Cmos Microcontroller Has Been Designed For High Performance Using Samsung S
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
REF —
REF
Operation:
Description:
low).
TJP and TCALL are 2-byte pseudo-instructions that are used only to specify the reference area:
1. When the reference area is specified by the TJP instruction,
2. When the reference area is specified by the TCALL instruction,
When the reference area is specified by any other instruction, the 'memc' and 'memc + 1'
instructions are executed.
Instructions referenced by REF occupy 2 bytes of memory space (for two 1-byte instructions or one
2-byte instruction) and must be written as an even number from 0020H to 007FH in ROM. In
addition, the destination address of the TJP and TCALL instructions must be located with the 3FFFH
address. TJP and TCALL are reference instructions for JP/JPS and CALL/CALLS.
If the instruction following a REF is subject to the 'redundancy effect', the redundant instruction is
skipped. If, however, the REF follows a redundant instruction, it is executed.
On the other hand, the binary code of a REF instruction is 1 byte. The upper 4 bits become the
higher address bits of the referenced instruction, and the lower 4 bits of the referenced instruction
( x
Reference Instruction
dst
*
The REF instruction is used to rewrite into 1-byte form, arbitrary 2-byte or 3-byte instructions (or
two 1-byte instructions) stored in the REF instruction reference area in program memory. REF
reduces the number of program memory accesses for a program.
memc.7–6 = 00
P11–0
memc.7–6 = 01
[(SP–1) (SP–2)]
[(SP–3) (SP–4)]
[(SP–5) (SP–6)]
SP
PC13–0
Operand
Operand
The REF instruction for a 16K CALL instruction is 4 cycles.
memc
memc
SP–6
1/2) becomes the lower address, producing a total of 8 bits or 1 byte (see Example 3 be-
memc.5–0 + (memc + 1).7–0
memc.3–0 + (memc + 1)
t7
PC7–0
EMB, ERB
PC13–8
t6
t5
Binary Code
Operation Summary
t4
Reference code
t3
t2
t1
t0
PC13–0 = memc7–4, memc3–0 <1
Operation Notation
SAM47 INSTRUCTION SET
Bytes
1
Cycles
3
*
5-77

Related parts for s3c72m9