Z8FMC04100 ZILOG [Zilog, Inc.], Z8FMC04100 Datasheet - Page 300

no-image

Z8FMC04100

Manufacturer Part Number
Z8FMC04100
Description
Z8 Encore-R Motor Control Flash MCUs
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
245
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100QKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100QKSG
Manufacturer:
Zilog
Quantity:
979
278
Z8 Encore!
Product Specification
PS024604-1005
Assembly Language Syntax
®
Motor Control Flash MCUs
For proper instruction execution, eZ8 CPU assembly language syntax requires that the
operands be written as ‘destination, source’. After assembly, the object code usually has
the operands in the order ’source, destination’, but ordering is Op Code-dependent. The
following instruction examples illustrate the format of some basic assembly instructions
and the resulting object code produced by the assembler. This binary format must be fol-
lowed by users that prefer manual program coding or intend to implement their own
assembler.
Example 1.
43h
Example 2.
address can specify any register location in the range 0–255 or, using Escaped Mode
Addressing in working registers R0–R15. If the contents of Register
Register R8 are added and the result is stored in
object code is:
LD 234H, #%01
Assembly Language Code
Object Code
Assembly Language Code
Object Code
, the assembly syntax and resulting object code is:
If the contents of registers
In general, when an instruction format requires an 8-bit register address, that
; Working Register R7, is the source. The contents
of R7 is
; written into R4.
; Another Load (LD) instruction with two operands.
; The first operand, Extended Mode Register Address
234H,
; identifies the destination. The second operand,
Immediate Data
; value 01h, is the source. The value 01h is
written into the
; Register at address 234h.
P R E L I M I N A R Y
ADD
ADD
04
04
43h
43H,
43H,
E8
08
and
08h
43h
08h
R8
43
43
, the assembly syntax and resulting
are added and the result is stored in
(ADD dst, src)
(OPC src, dst)
(ADD dst, src)
(OPC src, dst)
eZ8 CPU Instruction Set
43h
and Working

Related parts for Z8FMC04100