beautypg.com

Push push immediate – Zilog Z80380 User Manual

Page 170

background image

5-136

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

PUSH
PUSH IMMEDIATE

PUSH src

src = IM

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.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

IM:

PUSH nn

11111101 11110101 -n(low)- -n(high)

3+w

I, L