ZiLOG Z8 Series User Manual page 242

Table of Contents

Advertisement

Example 1
If Working Register R3 contains
ment:
SUB R3, R11
Op Code: 22 3B
leaves the value F6h in Working Register R3. The C, S, and D Flags are set, and the Z, V,
and H Flags are cleared.
Example 2
If Working Register R15 contains
contains
20h
SUB R16, @R10
Op Code: 23 FA
leaves the value
Flags are cleared.
Example 3
If Register
SUB 34h, 12h
Op Code: 24 12 34
leaves the value
cleared.
Example 4
If Register
tains
01h
SUB 4Bh, @R3
Op Code: 25 E3 4B
leaves the value 81h in Register
cleared.
Example 5
If Register
SUB 6Ch, #03h
Op Code: 26 6C 03
leaves the value
cleared.
UM001604-0108
16h
, the statement:
11h
in Working Register R15. The D Flag is set, and the C, Z, S, V, and H
05h
contains
, and Register
34h
2Eh
in Register
13h
34h
contains
, Working Register R3 contains
4Bh
82h
, the statement:
4Bh
contains
, the statement:
6Ch
2Ah
in Register
27h
6Ch
, and Working Register R11 contains
, Working Register R10 contains
16h
contains
12h
1Bh
. The D Flag is set, and the C, Z, S, V, and H Flags are
. The D Flag is set, and the C, Z, S, V, and H Flags are
. The D Flag is set, and the C, Z, S, V, and H Flags are
®
Z8
User Manual
, the state-
20h
, and Register
20h
, the statement:
, and Register
con-
10h
10h
Instruction Description
CPU
235

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 Series and is the answer not in the manual?

This manual is also suitable for:

Z8 cpu

Table of Contents