beautypg.com

Mtest mode test – Zilog Z80380 User Manual

Page 139

background image

5-105

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

MTEST

MODE TEST

MTEST

Operation:

S

SR(7)

Z

SR(6)

C

SR(1)

The three mode control bits in the Select Register (SR) are transferred to the flags. This
allows the program to determine the state of the machine.

Flags:

S:

Set if Extended mode is in effect; cleared otherwise

Z:

Set if Long word mode is in effect; cleared otherwise

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Set if Lock mode is in effect; cleared otherwise

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

MTEST

11011101 11001111

2