z80:Opcodes:SLA

From Learn @ Cemetech
Revision as of 22:16, 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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Syntax

   sla op8

Allowed Instructions

   SLA A
   SLA B
   SLA C
   SLA D
   SLA E
   SLA H
   SLA L
   SLA (HL)
   SLA (IX+n)
   SLA (IY+n)

Effects

S and Z by definition, H and N reset, C from bit 7, P/V set if result is even.

Uses

T-States

r denotes 8-bit register.

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

See Also

RL,RLA,RLC,RLCA,RLD,RR,RRA,RRC,RRCA,RRD,SLL/SL1,SRA,SRL