z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 285

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
eZ8 CPU Instruction Set
PS024611-0408
Assembly Language Programming Introduction
This chapter describes how to use the eZ8 CPU.
The eZ8 CPU assembly language provides a means for writing an application program
without concern for actual memory addresses or machine instruction formats. A program
written in assembly language is called a source program. Assembly language allows the
use of symbolic addresses to identify memory locations. It also allows mnemonic codes
(Opcodes and operands) to represent the instructions themselves. The Opcodes identify
the instruction while the operands represent memory locations, registers, or immediate
data values.
Each assembly language program consists of a series of symbolic commands called
statements. Each statement can contain labels, operations, operands, and comments.
Labels can be assigned to a particular instruction step in a source program. The label
identifies that step in the program as an entry point for use by other instructions.
The assembly language also includes assembler directives that supplement the machine
instruction. The assembler directives, or pseudo-ops, are not translated into a machine
instruction. Rather, the pseudo-ops are interpreted as directives that control or assist the
assembly process. The source program is processed (assembled) by the assembler to
obtain a machine language program called the object code. The object code is executed by
the eZ8 CPU. An example segment of an assembly language program is detailed in the
code below:
Assembly Language Source Program Example
JP START
START:
LD R4, R7
; Everything after the semicolon is a comment.
; A label called START. The first instruction (JP
START) in this
; example causes program execution to jump to the
point within the
; program where the START label occurs.
; A Load (LD) instruction with two operands. The
first operand,
; Working Register R4, is the destination. The
second operand,
Product Specification
eZ8 CPU Instruction Set
273

Related parts for z8fmc16100