beautypg.com

Mlt sp, Operation, Description – Zilog EZ80F916 User Manual

Page 256: Condition bits affected, Attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

247

MLT SP

Multiply Stack Pointer

Operation

SP

[15:0]  SP[15:8] x SP[7:0]

Description

The MLT SP instruction performs an 8-bit by 8-bit multiply operation using the Stack

Pointer (SP). The SP Low byte is multiplied by the SP High byte. The 16-bit product is

written back into the SP register. This operation is an 8-bit by 8-bit operation with a 16-bit

result, regardless of the ADL mode. In ADL mode, or if the .L suffix is employed, the 24-

bit Stack Pointer Long (SPL) is used. In Z80 mode, or if the .S suffix is employed, the 16-

bit Stack Pointer Short (SPS) is used.

Condition Bits Affected

None.

Attributes

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

MLT

SP

X

6

ED 7C

MLT

.L

SP

0

6

49 ED 7C

MLT

.S

SP

1

6

52 ED 7C

This manual is related to the following products: