s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 137
s5u1c33000c
Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
1.S5U1C33000C.pdf
(548 pages)
- Current page: 137 of 548
- Download datasheet (4Mb)
9.8 Comment Adding Function
The Preprocessor instructions are all expanded to codes that can be assembled, and delivered in the output file.
Even after that, those instructions are rewritten with comments beginning with a semicolon (;), so that the
original instructions can be identified. However, note that replacements of Define names and expressions will not
subsist as comments.
The comment is added to the first line following the expansion. In case the original statement is accompanied by
a comment, that comment is also added.
A macro definition should have a semicolon (;) placed at top of the line.
Example:
9.9 Other Functions
9.9.1 ASCII to HEX Conversion
The pp33 has the function to convert an ASCII character enclosed with ' ' in source files into a hexadecimal
number. The corresponding parts of the output assembly source file is replaced with the hexadecimal ASCII
codes.
Sample conversions:
Note: Only one ASCII character can be converted.
9.9.2 Comment Line
The pp33 allows comment lines that begin with "//" or "/*" as well as one that begins with semicolon (;).
The first "/" character will be converted into ";".
Sample conversions:
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Before expansion
#define
#macro
#endm
After expansion (no debugging information)
;#define
;#macro
;
;
;
;#endm
'\t' and '\n' can also be used as 0x9 and 0xA, respectively.
ld.w %r1, '1'
ld.w %r1, '1'+1
//comment ..........
/*comment ..........
R0
ADDM
ld.w
add
ld.w
ADDM
R0
ADDM
ld.w
add
ld.w
ld.w
add
ld.w
%r0
$1
R0, $1
R0, [%r4]
[%r5], R0
0x10
%r0
$1
R0, $1
R0, [%r4]
[%r5], R0
%r0, 0x10 ;
%r0, [%r4]
[%r5], %r0
; [%r5] = [%r4] + 0x10
ld.w %r1, 0x31
ld.w %r1, 0x32
;/comment ..........
;*comment ..........
EPSON
ADDM 0x10
... Numeric operators can be used.
; [%r5] = [%r4] + 0x10
CHAPTER 9: PREPROCESSOR
121
Related parts for s5u1c33000c
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
S5u1 Pin Diode Switch Single Pole, Five Throw Absorptive
Manufacturer:
Aeroflex Circuit Technology
Datasheet:
Part Number:
Description:
Optical Devicepbs-prism For Blue
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Optical Device Ir-cut Filter
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Optical Device
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d15000 Series Lcd Driver With Ram
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d12000 Series Lcd Driver Ic Technical Manual Technical Manual
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d13521 Epd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d13710 Mobile Graphics Engine
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d13711 Mobile Graphics Engine
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Liquid Crystal Display =lcd Driver
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Embedded Memory Graphics Lcd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d13705 Embedded Memory Lcd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
S1d13503 Graphics Lcd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Embedded Memory Graphics Lcd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
Part Number:
Description:
Design Guide S1k50000 Series
Manufacturer:
Epson Electronics America, Inc.
Datasheet: