Datasheet
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 95
5. Assembler
In this chapter you receive high-level guidance on programming assembly language source files for
the PSoC device. For comprehensive details, see the PSoC Designer Assembly Language User
Guide.
5.1 Accessing the Assembler
The assembler is an application accessed from within PSoC Designer, much like the C Compiler.
This application is run as a batch process. It operates on assembly language source to produce exe-
cutable code. This code is then compiled and built into a single executable file that is downloaded
into the In-Circuit Emulator (ICE), where the functionality of the PSoC device is emulated and
debugged.
The project source files appear in the left frame, called the source tree. Double-click individual files
so they appear in the main active window where you add and modify code using the standard cut,
copy, paste edit icons.
5.2 The M8C Microprocessor (MCU)
The Microprocessor (MCU) is an enhanced 8-bit microprocessor core. It is optimized to be small and
fast.
There are five internal registers, see Table 5-1. All registers are 8 bits wide except the PC, which is
composed of two 8-bit registers (PCH and PCL) which together form a 16-bit register.
Table 5-1. MCU Internal Registers
Register Abbreviation
Accumulator A
Flag F
Index X
Stack Pointer SP
Program Counter PC