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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
4.3.2 Notations of Operands
This section explains the notations for the register names, symbols, and constants that are used in the operands of
instructions.
(1) Register Names
Note: A register name not containing % will be regarded as a symbol.
(2) Numerical Notations
Note: Only the lowercase "x" can be used. "0X" will result in an error.
Note: Only a lowercase "b" can be used. "0B" will result in an error.
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
The names of the internal registers of the S1C33000 Core CPU all contain a percentage symbol (%).
Register names may be written in either uppercase or lowercase letters.
Register names placed in brackets ([ ]) for indirect addressing must include the % symbol.
Examples: [%r8] [%r1]+ [%sp+imm6]
The assembler supports three kinds of numerical notations: decimal, hexadecimal and binary.
Decimal notations of values
Notations represented with 0–9 only will be regarded as decimal numbers. To specify a negative value, put
a minus sign (-) before the value.
Examples: 1 255 -3
Characters other than 0–9 and the sign (-) cannot be used.
Hexadecimal notations of values
To specify a hexadecimal number, place "0x" before the value.
Examples: 0x1a 0xff00
"0x" cannot be followed by characters other than 0–9, a–f, and A–F.
Binary notations of values
To specify a binary number, place "0b" before the value.
Examples: 0b1001 0b01001100
"0b" cannot be followed by characters other than 0 or 1.
General-purpose register (%rd, %rs, %rb)
General-purpose register R0–R15
Special register (%sd, %ss)
Processor status register PSR
Stack pointer SP
Arithmetic operation low register ALR
Arithmetic operation high register AHR
Conversely, all notations beginning with % will be regarded as registers, and will give rise to an
error if it is not a register name.
EPSON
Notation
%r0–%r15 or %R0–%R15
Notation
%psr or %PSR
%sp or %SP
%alr or %ALR
%ahr or %AHR
CHAPTER 4: SOURCE FILES
47

Related parts for s5u1c33000c