Chapter 12 List of Machine Language Instructions

12.3.1

Data Move Instructions

 

 

 

 

 

 

 

 

 

 

MOVE source to destination

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

Description of operation

 

 

 

 

 

 

 

 

 

 

MOV Dm, Dn

Transfers the contents of Dm to Dn.

 

 

 

 

MOV Dm, An

Transfers the contents of Dm to An.

 

 

 

 

MOV Am, Dn

Transfers the contents of Am to Dn.

 

 

 

 

MOV Am, An

Transfers the contents of Am to An.

 

 

Register

 

 

 

 

 

 

MOV SP, An

Transfers the contents of SP to An.

 

 

Direct

 

 

 

 

 

 

MOV Am, SP

Transfers the contents of Am to SP.

 

 

 

 

MOV PSW, Dn

Transfers the contents of PSW to Dn.

 

 

 

 

MOV Dm, PSW

Transfers the contents of Dm to PSW.

 

 

 

 

MOV MDR, Dn

Transfers the contents of MDR to Dn.

 

 

 

 

MOV Dm, MDR

Transfers the contents of Dm to MDR.

 

 

 

 

MOV imm, Dn

Transfers the sign-extended imm8, sign-extended imm16, or imm32 to

 

 

Immediate

 

Dn.

 

 

 

 

 

 

Value

 

 

 

 

 

 

MOV imm, An

Transfers the zero-extended imm8, zero-extended imm16, or imm32 to

 

 

 

 

An.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV (Am),Dn

Transfers the contents of the memory location specified by Am to Dn.

 

 

 

 

MOV (Am), An

Transfers the contents of the memory location specified by Am to An.

 

 

 

 

MOV Dm, (An)

Transfers the contents of Dm to the memory location specified by An.

 

 

 

 

MOV Am, (An)

Transfers the contents of Am to the memory location specified by An.

 

 

 

 

MOVBU (Am), Dn

Transfers, with zero extension, the 8-bit contents of the memory

 

 

 

 

location specified by Am to Dn.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVBU Dm,(An)

Transfers the lowest 8 bits of Dm to the memory location specified by

 

 

 

 

An.

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

MOVB (Am), Dn

Transfers, with sign extension, the 8-bit contents of the memory

 

 

 

location specified by Am to Dn.

 

 

 

 

 

 

Indirect

 

 

 

 

 

 

MOVB Dm, (An)

Transfers the lowest 8 bits of Dm to the memory location specified by

 

 

 

 

An.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVHU (Am), Dn

Transfers, with zero extension, the 16-bit contents of the memory

 

 

 

 

location specified by Am to Dn.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVHU Dm, (An)

Transfers the lowest 16 bits of Dm to the memory location specified by

 

 

 

 

An.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVH (Am), Dn

Transfers, with sign extension, the 16-bit contents of the memory

 

 

 

 

location specified by Am to Dn.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOVH Dm, (An)

Transfers the lowest 16 bits of Dm to the memory location specified by

 

 

 

 

An.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transfers the contents of the memory location specified by Am and

 

 

Register

 

MOV (d, Am), Dn

displacement d to Dn.

 

 

 

 

8- and 16-bit displacements are sign-extended.

 

 

Relative

 

 

 

 

 

 

 

 

 

 

 

Transfers the contents of the memory location specified by SP and

 

 

Indirect

 

 

 

 

 

MOV (d, SP), Dn

displacement d to Dn.

 

 

 

 

 

 

 

 

 

8- and 16-bit displacements are zero-extended.

 

 

 

 

 

 

 

232 List of Machine Language Instructions

Page 244
Image 244
Panasonic MN1030 user manual Data Move Instructions, Move source to destination