beautypg.com

Push xp, Push yh, Push xp onto stack – Epson 6200A User Manual

Page 76: Push yh onto stack

background image

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

MSB

LSB

MSB

LSB

C

Z

D

I

C

Z

D

I

70

EPSON

S1C6200/6200A CORE CPU MANUAL

3 INSTRUCTION SET

PUSH XP

Push XP onto stack

PUSH XP

SP'

SP - 1, M(SP')

XP

1

1

1

1

1

1

0

0

0

1 0

0

FC4H

VI

5

Not affected
Not affected
Not affected
Not affected

Decrements the stack pointer by 1 and loads the contents of XP, the page part of
IX, into the data memory location addressed by SP.

PUSH XP

SP

D0

CF

Memory (CFH)

0011

0000

XP register

0000

0000

PUSH YH

Push YH onto stack

PUSH YH

SP'

SP - 1, M(SP')

YH

1

1

1

1

1

1

0

0

1

0 0

0

FC8H

VI

5

Not affected
Not affected
Not affected
Not affected

Decrements the stack pointer by 1 and loads the contents of YH, the four high-
order bits of YHL, into the data memory location addressed by SP.

PUSH YH

SP

BF

BE

Memory (BEH)

0100

0001

YH register

0001

0001

2

3

2

2

2

1

2

0

M(SP) =

= XP

2

0

2

1

2

2

2

3

2

3

2

2

2

1

2

0

M(SP) =

= YH

2

0

2

1

2

2

2

3