Renesas H8S Series Hardware Manual page 866

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Instruction
STMAC
SUB
SUBS
SUBX
TAS
TRAPA
XOR
XORC
Rev.6.00 Oct.28.2004 page 838 of 1016
REJ09B0138-0600H
H
N
Z
V
C
Definition
Cannot be used in the H8S/2357 Group
H = Sm–4 · Dm–4 + Dm–4 · Rm–4 + Sm–4 · Rm–4
N = Rm
Z = Rm · Rm–1 · ...... · R0
V = Sm · Dm · Rm + Sm · Dm · Rm
C = Sm · Dm + Dm · Rm + Sm · Rm
— — — — —
H = Sm–4 · Dm–4 + Dm–4 · Rm–4 + Sm–4 · Rm–4
N = Rm
Z = Z' · Rm · ...... · R0
V = Sm · Dm · Rm + Sm · Dm · Rm
C = Sm · Dm + Dm · Rm + Sm · Rm
0
N = Dm
Z = Dm · Dm–1 · ...... · D0
— — — — —
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
Stores the corresponding bits of the result.
No flags change when the operand is EXR.

Advertisement

Table of Contents
loading

Table of Contents