6) Mov (Move Data) (Word) - Hitachi H8/300L Series Programming Manual

Hide thumbs Also See for H8/300L Series:
Table of Contents

Advertisement

2.2.32(6) MOV (move data) (word)

Operation
Rs → (EAd)
Assembly-Language Format
MOV .W Rs, <EAd>
Operand Size
Word
Condition Code
I
H
— —
I:
Previous value remains unchanged.
H:
Previous value remains unchanged.
N:
Set to 1 when the data value is negative; otherwise cleared to 0.
Z:
Set to 1 when the data value is zero; otherwise cleared to 0.
V:
Cleared to 0.
C:
Previous value remains unchanged.
Description
This instruction moves one word of data from a general register to memory and sets condition
code flags according to the data value.
The destination address in memory must be even.
MOV.W Rs, @-R7 is identical in machine language to PUSH.W Rs.
The instruction MOV.W Rn, @-Rn decrements register Rn by 2, then moves the decremented
result to memory.
Note that the LSIs in the H8/300L Series contain on-chip peripheral modules for which access in
word size is not possible. Details are given in the applicable hardware manual.
96
N
Z
V
C
0

Advertisement

Table of Contents
loading

Table of Contents