Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 346

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 353
Image 353

MSM80C154S/83C154S/85C154HVS

87. PUSH data address (Push memory onto stack)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

1

 

1

0

 

 

0

0

0

0

0

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6

a5

a4

a3

a2

a1

a0

Byte 2

Operations

: (SP)(SP)+1

 

 

 

 

 

 

 

 

 

 

((SP))(data address)

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The stack pointer is incremented by 1, and the specified data

 

 

address contents are pushed in the stack addressed by the

 

 

stack pointer.

 

 

 

 

 

 

 

 

Example PUSH P1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

Instruction code

:

1

1

0

0

0

0

0

0

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

1

0

0

1

0

0

0

0

Byte 2

 

 

 

Before execution Port 1(90H)

1 1 0 1 0 1 0 1

70 Stack pointer

0 0 0 1 0 0 0 0

70

11H (Stack)

0 0 0 0 0 0 0 0

70

After execution Port 1(90H)

1 1 0 1 0 1 0 1

70 Stack pointer

0 0 0 1 0 0 0 1

70

11H (Stack)

1 1 0 1 0 1 0 1

70

346

Page 353
Image 353
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 346