z80:Opcodes:RES

From Learn @ Cemetech
Revision as of 22:06, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Resets the specified byte to zero.

Syntax

   res n,op8

Allowed Instructions

   res n,a
   res n,b
   res n,c
   res n,d
   res n,e
   res n,h
   res n,l
   res n,(hl)
   res n,(ix+n)
   res n,(iy+n)

Effects

Flags are preserved.

Uses

T-States

r denotes 8-bit register.

r 8
(hl) 15
(ix+X) 23
(iy+X) 23

See Also

AND,BIT,CCF,CPL,OR,SCF,SET,XOR