ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
7
1.
Introduction
The PSoC Designer Assembly Language Guide documents the assembly language instruction set
for the M8C microcontroller as well as other compatible assembly practices. It covers the ImageCraft
Assembler.
The PSoC Designer Integrated Development Environment (IDE) software is available free of charge
and supports development in assembly language. For customers interested in developing in C,
compilers are available. Please contact your local distributor if you are interested in purchasing a C
Compiler for PSoC Designer. For more information about developing in C for the PSoC device,
please read the
PSoC Designer C Language Compiler Guide
available at the Cypress web site at
1.1
Chapter Overviews
Table 1-1. Overview of the Assembly Language Guide
Chapter
Description
Describes the purpose of this guide, overviews each chapter, supplies product
support and upgrade information, and lists documentation conventions.
M8C Microprocessor
(on page 11)
Discusses the microprocessor and explains address spaces, instruction format,
and destination of instruction results. It also lists all addressing modes and pro-
vides examples of each.
ImageCraft Assembler
(on page 25)
Provides assembly language source syntax including labels, mnemonics, oper-
ands, comments, and directives. Describes the various file formats created by
the ImageCraft Assembler, along with the convention for restoring internal regis-
ters and compiling a file into a library module.
M8C Instruction Set
(on page 37)
Provides a detailed list of all M8C instructions. Information about individual M8C
instructions is also available via
PSoC Designer Online Help
.
Assembler Directives
(on page 75)
Provides a detailed list of all ImageCraft Assembler directives.
Builds and Error Messages
(on page 97)
Supplies several lists of assembler-related errors and warnings, along with their
possible solutions.
Appendix A
Reference Tables Appendix
(on page 99)
Serves as a quick reference to the M8C instruction set, and assembler directives
and syntax expressions, along with an ASCII code table.
Summary of Contents for PSoC DESIGNER ImageCraft M8C
Page 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Page 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Page 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Page 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Page 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Page 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Page 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...