Mitsubishi M16C/60 Series Software Manual page 102

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

Advertisement

TST
Op e r a t io n :
(M) = 0 ?
F u n c t io n :
This instruction tests whether the contents of M are "0" or not
and modifies the N and Z.
St a t u s fla g : N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆TST∆$zz
Zero page
96
T
ST
E
FOR NEGATIVE OR ZERO
N is 1 when bit 7 of M is 1; otherwise N is 0.
No change
No change
No change
No change
No change
Z is 1 when the M content is 0; otherwise Z is 0.
No change
Statement
Machine codes
Byte number
64
, zz
16
16
TST
Cycle number
2
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents