EasyManuals Logo

ZiLOG eZ80 User Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #372 background imageLoading...
Page #372 background image
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
363
TST A, (HL)
Test
Operation
A AND (HL)
Description
The (HL) operand is an 8-bit value at the memory location specified by the contents of the
multibyte register (HL). This 8-bit value is bitwise ANDed with the contents of the accu-
mulator, A. The appropriate flags are set to 1, depending on the result of the
AND
logical
operation. The contents of the accumulator and the memory location are not altered.
Condition Bits Affected
Attributes
S Set if result is negative; reset otherwise.
Z Set if result is 0; reset otherwise.
H Set.
P/V Set if parity is even; reset otherwise.
N Reset.
C Reset.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
TST A,(HL) X 3 ED, 34
TST.S A,(HL) 1 4 52, ED, 34
TST.L A,(HL) 0 4 49, ED, 73

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG eZ80 and is the answer not in the manual?

ZiLOG eZ80 Specifications

General IconGeneral
BrandZiLOG
ModeleZ80
CategoryComputer Hardware
LanguageEnglish

Related product manuals