ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
37
4.
M8C Instruction Set
This chapter describes all M8C instructions in detail. The M8C supports a total of 256 instructions
which are divided into 37 instruction types and arranged in alphabetical order according to the
instruction types mnemonic.
For each instruction the assembly code format will be illustrated as well as the operation performed
by the instruction. The microprocessor cycles that are listed for each instruction are for instructions
that are not on a ROM (Flash) page-boundary execution. If the instruction is located on a 256-byte
ROM page boundary, an additional microprocessor clock cycle will be needed by the instruction. The
expr
string that is used to explain the assembly code format represents the use of assembler direc-
tives which tell the ImageCraft Assembler how to calculate the constant used in the final machine
code. Note that in the operation equations the machine code constant is represented by
k
,
k
1
,
and
k
2
.
While the instruction mnemonics are often shown in all capital letters, the ImageCraft Assembler
ignores case for directives and instructions mnemonics. However, the Assembler does consider
case for user-defined symbols (i.e., labels).
Note that information about individual M8C instructions is also available via
PSoC Designer Online
Help
. Pressing the [F1] key will cause the online help system to search for the word at the current
insertion point in a source file. If your insertion point is an instruction mnemonic, pressing [F1] will
direct you to information about that instruction.
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 ...