beautypg.com

Push push control register – Zilog Z80380 User Manual

Page 169

background image

5-135

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

PUSH

PUSH CONTROL REGISTER

PUSH src

src = SR

Operation:

if (LW) then begin

SP

SP - 4

(SP)

src(7-0)

(SP+1)

src(15-8)

(SP+2)

src(23-16)

(SP+3)

src(31-24)

end

else begin

SP

SP - 2

(SP)

src(7-0)

(SP+1)

src(15-8)

end

The Stack Pointer (SP) is decremented by two (by four in Long Word mode) and the source
is loaded into the memory locations addressed by the SP in ascending byte order in
ascending address memory locations. The contents of the source are unaffected.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

PUSH SR

11101101 11000101

3+w

L