English
Language : 

Z8F0830HH020SG Datasheet, PDF (182/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
164
Example 2
In general, when an instruction format requires an 8-bit register address, the address can
specify any register location in the range 0–255 or, using escaped mode addressing, a
working register R0–R15. If the contents of register 43H and working register R8 are
added and the result is stored in 43H, the assembly syntax and resulting object code is:
Table 102. Assembly Language Syntax Example 2
Assembly Language Code
Object Code
ADD 43H, R8 (ADD dst, src)
04 E8 43 (OPC src, dst)
See the device specific product specification to determine the exact register file range
available. The register file size varies, depending on the device type.
eZ8 CPU Instruction Notation
In the eZ8 CPU instruction summary and description sections, the operands, condition
codes, status flags and address modes are represented by the notational shorthand listed in
Table 103.
Table 103. Notational Shorthand
Notation Description
b
Bit
cc
Condition Code
DA
Direct Address
ER
Extended Addressing Register
IM
Immediate Data
Ir
Indirect Working Register
IR
Indirect Register
Irr
Indirect Working Register Pair
IRR
Indirect Register Pair
p
Polarity
r
Working Register
Operand Range
b
b represents a value from 0 to 7 (000B to 111B).
—
See condition codes overview in the eZ8 CPU
User Manual.
Addrs
Addrs. represents a number in the range of
0000H to FFFFH
Reg
Reg. represents a number in the range of 000H
to FFFH
#Data Data is a number between 00H to FFH
@Rn n = 0 –15
@Reg Reg. represents a number in the range of 00H
to FFH
@RRp p = 0, 2, 4, 6, 8, 10, 12 or 14
@Reg Reg. represents an even number in the range
00H to FEH
p
Polarity is a single bit binary value of either 0B
or 1B.
Rn
n = 0 – 15
PS025113-1212
eZ8 CPU Instruction Notation