s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 66

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 4: SOURCE FILES
4.3.3 Extended Instructions
The Instruction Extender ext33 provides extended instructions for creating assembly source files. An extended
instruction is such that the contents which normally are written in multiple instructions including the ext
instruction can be written in one instruction. Extended instructions are expanded into the smallest possible basic
instructions by the Instruction Extender.
Types of extended instructions
Method for using extended instructions
For details about the extended instructions that include operands, refer to Section 10.6, "Extended Instructions".
Note: Extended instructions must be processed by the Instruction Extender ext33. They cannot be
50
xadd xsub xcmp xand xoor xxor xnot xsll xsrl xsla xsra xrl xrr
xld.b xld.ub xld.h xld.uh xld.w xbset xbclr xbtst xbnot
xjp xjreq xjrne xjrgt xjrge xjrlt xjrle xjrugt xjruge xjrult xjrule xcall xjp.d xjreq.d xjrne.d xjrgt.d
xjrge.d xjrlt.d xjrle.d xjrugt.d xjruge.d xjrult.d xjrule.d xcall.d
An extended instruction is derived from one of the basic instructions by adding the prefix "x". ("xoor" for
the or instruction.)
The value or symbol for the expanded immediate size can be written directly in the operand.
Examples: xcall
In addition to the immediate expansion function of the basic instructions, a special operand specification
like the one shown below is accepted for some instructions.
Examples: xadd
input directly into the Assembler as33 (this results in an error).
xld.w
xsub
xld.w
xjp
xrl
LABEL
%r1, sign32
%r0, %r1, 0x1
%sp, %sp, %r1
%r0, [symbol + 0x10]
LABEL + 5
%r0, 15
; call
; ext
; ext
; ld.w
; ext
; ext
EPSON
LABEL@rh
LABEL@rm
LABEL@rl
sign32@h
sign32@m
%r1, sign32@l
; R0
; SP
; R0
; Jumps to address LABEL + 5.
; Rotates the R0 content left by 15 bits.
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
SP + R1
R1 + 1
[symbol + 0x10]
S5U1C33000C MANUAL

Related parts for s5u1c33000c