beautypg.com

Ez80® cpu status indicators (flag register), Ez80, Table 5 – Zilog EZ80F916 User Manual

Page 23: Cpu status indicators (flag register)

background image

eZ80

®

CPU

User Manual

UM007715-0415

Registers and Bit Flags

14

eZ80

®

CPU Status Indicators (Flag Register)

The Flag register (F and F’) contains status information for the CPU. The bit position for

each flag is indicated in

Table 6

.

Table 5. CPU Register and Bit Flag Reset States

CPU Register

or Bit Flag

Reset State

8-Bit Working Registers

A, A’

Undefined

B, B’

Undefined

C, C’

Undefined

D, D’

Undefined

E, E’

Undefined

F, F’

Undefined

H, H’

Undefined

L, L’

Undefined

Upper Bytes of 24-Bit Multibyte

Working Registers

BCU

Undefined

DEU

Undefined

HLU

Undefined

8-Bit Control Registers

I

00h

IXH

00h

IXL

00h

IYH

00h

IYL

00h

MBASE

00h

R

00h

Upper Bytes of 24-Bit Multibyte

Control Registers

IXU

00h

IYU

00h

16- and 24-Bit Control Registers

PC

000000h

SPS

0000h

SPL

000000h

Single-Bit Flags

ADL

0

IEF1

0

IEF2

0

MADL

0

Table 6. Flag Register Bit Positions

Bit

7

6

5

4

3

2

1

0

Flag

S

Z

X

H

X

P/V

N

C

This manual is related to the following products: