8080/Z80 Instruction Set 8 Bit Transfer Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- LD A,(IX+index) DD7Eindex A <- (IX+index) --- LD A,(IY+index) FD7Eindex A <- (IY+index) --- LD A,I ED57 A <- Interrupt Page --- LD B,(IX+index) DD46index B <- (IX+index) --- LD B,(IY+index) FD46index B <- (IY+index) --- LD C,(IX+index) DD4Eindex C <- (IX+index) --- LD C,(IY+index) FD4Eindex C <- (IY+index) --- LD D,(IX+index) DD56index D <- (IX+index) --- LD D,(IY+index) FD56index D <- (IY+index) --- LD E,(IX+index) DD5Eindex E <- (IX+index) --- LD E,(IY+index) FD5Eindex E <- (IY+index) --- LD H,(IX+index) DD66index H <- (IX+index) --- LD H,(IY+index) FD66index H <- (IY+index) --- LD L,(IX+index) DD6Eindex L <- (IX+index) --- LD L,(IY+index) FD6Eindex L <- (IY+index) --- LD (IX+index),A DD77index (IX+index) <- A --- LD (IX+index),B DD70index (IX+index) <- B --- LD (IX+index),C DD71index (IX+index) <- C --- LD (IX+index),D DD72index (IX+index) <- D --- LD (IX+index),E DD73index (IX+index) <- E --- LD (IX+index),H DD74index (IX+index) <- H --- LD (IX+index),L DD75index (IX+index) <- L --- LD (IX+index),byte DD76indexbyte (IX+index) <- byte --- LD (IY+index),A FD77index (IY+index) <- A --- LD (IY+index),B FD70index (IY+index) <- B --- LD (IY+index),C FD71index (IY+index) <- C --- LD (IY+index),D FD72index (IY+index) <- D --- LD (IY+index),E FD73index (IY+index) <- E --- LD (IY+index),H FD74index (IY+index) <- H --- LD (IY+index),L FD75index (IY+index) <- L --- LD (IY+index),byte FD76indexbyte (IY+index) <- byte --- LD (IX+index),byte (IX+index) <- byte DD36index byte --- LD (IY+index),byte (IY+index) <- byte FD36index byte 16 Bit Transfer Instructions --- LD IX,word DD21word IX <- word --- LD IY,word FD21word IY <- word --- LD BC,(word) ED4Bword BC <- (word) --- LD DE,(word) ED5Bword DE <- (word) --- LD HL,(word) ED6Bword HL <- (word) --- LD SP,(word) ED7Bword SP <- (word) --- LD IX,(word) DD2Aword IX <- (word) --- LD IY,(word) FD2Aword IY <- (word) --- LD (word),BC ED43word (word) <- BC --- LD (word),DE ED53word (word) <- DE --- LD (word),HL ED6Bword (word) <- HL --- LD (word),IX DD22word (word) <- IX --- LD (word),IY DD22word (word) <- IY --- LD (word),SP ED73word (word) <- SP --- LD SP,IX DDF9 SP <- IX --- LD SP,IY FDF9 SP <- IY Register Exchange Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- EX (SP),IX DDE3 IXh <-> (SP+1); IXl <-> (SP) --- EX (SP),IY FDE3 IYh <-> (SP+1); IYl <-> (SP) --- EX AF,AF' 08 AF <-> AF' --- EXX D9 BC/DE/HL <-> BC'/DE'/HL' Add Byte Instructions --- ADD A,(IX+index) DD86index A <- A + (IX+index) --- ADD A,(IY+index) FD86index A <- A + (IY+index) Add Byte with Carry-In Instructions --- ADC A,(IX+index) DD8Eindex A <- A + (IX+index) + Carry --- ADC A,(IY+index) FD8Eindex A <- A + (IY+index) + Carry Subtract Byte Instructions --- SUB (IX+index) DD96index A <- A - (IX+index) --- SUB (IY+index) FD96index A <- A - (IY+index) Subtract Byte With Borrow-In Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- SBC (IX+index) DD9Eindex A <- A - (IX+index) - Carry --- SBC (IY+index) FD9Eindex A <- A - (IY+index) - Carry Double Word Add Instructions --- ADD IX,BC DD09 IX <- IX + BC --- ADD IX,DE DD19 IX <- IX + DE --- ADD IX,IX DD29 IX <- IX + IX --- ADD IX,SP DD39 IX <- IX + SP --- ADD IY,BC FD09 IY <- IY + BC --- ADD IY,DE FD19 IY <- IY + DE --- ADD IY,IY FD29 IY <- IY + IY --- ADD IY,SP FD39 IY <- IY + SP Double Word Add With Carry-In Instructions --- ADC HL,BC ED4A HL <- HL + BC + Carry --- ADC HL,DE ED5A HL <- HL + DE + Carry --- ADC HL,HL ED6A HL <- HL + HL + Carry --- ADC HL,SP ED7A HL <- HL + SP + Carry Double Word Subtract With Borrow-In Instructions --- SBC HL,BC ED42 HL <- HL - BC - Carry --- SBC HL,DE ED52 HL <- HL - DE - Carry --- SBC HL,HL ED62 HL <- HL - HL - Carry --- SBC HL,SP ED72 HL <- HL - SP - Carry Control Instructions --- IM 0 ED46 --- --- IM 1 ED56 --- --- IM 2 ED5E --- --- LD I,A ED47 Interrupt Page <- A Increment Byte Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- INC (IX+index) DD34index (IX+index) <- (IX+index) + 1 --- INC (IY+index) FD34index (IY+index) <- (IY+index) + 1 Decrement Byte Instructions --- DEC (IX+index) DD35index (IX+index) <- (IX+index) - 1 --- DEC (IY+index) FD35index (IY+index) <- (IY+index) - 1 Increment Register Pair Instructions --- INC IX DD23 IX <- IX + 1 --- INC IY FD23 IY <- IY + 1 Decrement Register Pair Instructions --- DEC IX DD2B IX <- IX - 1 --- DEC IY FD2B IY <- IY - 1 Special Accumulator and Flag Instructions NOT CF --- NEG ED44 A <- 0-A Rotate Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- RLD ED6F --- --- RRD ED67 --- --- RLC A CB07 --- --- RLC B CB00 --- --- RLC C CB01 --- --- RLC D CB02 --- --- RLC E CB03 --- --- RLC H CB04 --- --- RLC L CB05 --- --- RLC (HL) CB06 --- --- RLC (IX+index) DDCBindex06 --- --- RLC (IY+index) FDCBindex06 --- --- RL A CB17 --- --- RL B CB10 --- --- RL C CB11 --- --- RL D CB12 --- --- RL E CB13 --- --- RL H CB14 --- --- RL L CB15 --- --- RL (HL) CB16 --- --- RL (IX+index) DDCBindex16 --- --- RL (IY+index) FDCBindex16 --- --- RRC A CB0F --- --- RRC B CB08 --- --- RRC C CB09 --- --- RRC D CB0A --- --- RRC E CB0B --- --- RRC H CB0C --- --- RRC L CB0D --- --- RRC (HL) CB0E --- --- RRC (IX+index) DDCBindex0E --- --- RRC (IY+index) FDCBindex0E --- --- RL A CB1F --- --- RL B CB18 --- --- RL C CB19 --- --- RL D CB1A --- --- RL E CB1B --- --- RL H CB1C --- --- RL L CB1D --- --- RL (HL) CB1E --- --- RL (IX+index) DDCBindex1E --- --- RL (IY+index) FDCBindex1E --- Logical Byte Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- AND (IX+index) DDA6index A <- A AND (IX+index) --- AND (IY+index) FDA6index A <- A AND (IY+index) --- XOR (IX+index) DDAEindex A <- A XOR (IX+index) --- XOR (IY+index) FDAEindex A <- A XOR (IY+index) --- OR (IX+index) DDB6index A <- A OR (IX+index) --- OR (IY+index) FDB6index A <- A OR (IY+index) --- CP (IX+index) DDBEindex A - (IX+index) --- CP (IY+index) FDBEindex A - (IY+index) --- CPI EDA1 A - (HL);HL <- HL+1;BC <- BC-1 --- CPIR EDB1 A - (HL);HL <- HL+1;BC <- BC-1 --- CPD EDA9 A - (HL);HL <- HL-1;BC <- BC-1 --- CPDR EDB9 A - (HL);HL <- HL-1;BC <- BC-1 Branch Control/Program Counter Load Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- JP (IX) DDE9 PC <- IX --- JP (IY) FDE9 PC <- IY --- JR index 18index PC <- PC + index --- JR NZ,index 20index If NZ, PC <- PC + index --- JR Z,index 28index If Z, PC <- PC + index --- JR NC,index 30index If NC, PC <- PC + index --- JR C,index 38index If C, PC <- PC + index --- DJNZ index 10index B <- B - 1; If B > 0, PC <- PC + index --- RETI ED4D Return from Interrupt --- RETN ED45 IFF1 <- IFF2;RETI Stack Operation Instructions 8080 Mnemonic Z80 Mnemonic Code Operation --- PUSH IX DDE5 (SP-2) <- IXl; (SP-1) <- IXh SP <- SP - 2 --- PUSH IY FDE5 (SP-2) <- IYl; (SP-1) <- IYh SP <- SP - 2 --- POP IX DDE1 IXh <- (SP+1); IXl <- (SP); SP <- SP + 2 --- POP IY FDE1 IYh <- (SP+1); IYl <- (SP); Input/Output Instructions --- IN A,(C) ED78 A <- [C] --- IN B,(C) ED40 B <- [C] --- IN C,(C) ED48 C <- [C] --- IN D,(C) ED50 D <- [C] --- IN E,(C) ED58 E <- [C] --- IN H,(C) ED60 H <- [C] --- IN L,(C) ED68 L <- [C] --- INI EDA2 (HL) <- [C];B <- B-1;HL <- HL+1 --- INIR EDB2 (HL) <- [C];B <- B-1;HL <- HL+1 --- IND EDAA (HL) <- [C];B <- B-1;HL <- HL-1 --- INDR EDBA (HL) <- [C];B <- B-1;HL <- HL-1 --- OUT (C),A ED79 [C] <- A --- OUT (C),B ED41 [C] <- B --- OUT (C),C ED49 [C] <- C --- OUT (C),D ED51 [C] <- D --- OUT (C),E ED59 [C] <- E --- OUT (C),H ED61 [C] <- H --- OUT (C),L ED69 [C] <- L --- OUTI EDA3 [C] <- (HL);B <- B-1;HL <- HL+1 --- OTIR EDB3 [C] <- (HL);B <- B-1;HL <- HL+1 --- OUTD EDAB [C] <- (HL);B <- B-1;HL <- HL-1 --- OTDR EDBB [C] <- (HL);B <- B-1;HL <- HL-1 8080/Z80 Instruction Set Page 11 Data Transfer Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- LDI EDA0 (DE) <- (HL);HL <- HL+1 DE <- DE+1; BC <- BC-1 --- LDIR EDB0 (DE) <- (HL);HL <- HL+1 DE <- DE+1; BC <- BC-1 --- LDD EDA8 (DE) <- (HL);HL <- HL-1 DE <- DE-1; BC <- BC-1 --- LDDR EDB8 (DE) <- (HL);HL <- HL-1 DE <- DE-1; BC <- BC-1 Bit Manipulation Instructions (Z80 Only) --- BIT 0,A CB47 Z flag <- NOT 0b --- BIT 0,B CB40 Z flag <- NOT 0b --- BIT 0,C CB41 Z flag <- NOT 0b --- BIT 0,D CB42 Z flag <- NOT 0b --- BIT 0,E CB43 Z flag <- NOT 0b --- BIT 0,H CB44 Z flag <- NOT 0b --- BIT 0,L CB45 Z flag <- NOT 0b --- BIT 0,(HL) CB46 Z flag <- NOT 0b --- BIT 0,(IX+index) DDCBindex46 Z flag <- NOT 0b --- BIT 0,(IY+index) FDCBindex46 Z flag <- NOT 0b --- BIT 1,A CB4F Z flag <- NOT 1b --- BIT 1,B CB48 Z flag <- NOT 1b --- BIT 1,C CB49 Z flag <- NOT 1b --- BIT 1,D CB4A Z flag <- NOT 1b --- BIT 1,E CB4B Z flag <- NOT 1b --- BIT 1,H CB4C Z flag <- NOT 1b --- BIT 1,L CB4D Z flag <- NOT 1b --- BIT 1,(HL) CB4E Z flag <- NOT 1b --- BIT 1,(IX+index) DDCBindex4E Z flag <- NOT 1b --- BIT 1,(IY+index) FDCBindex4E Z flag <- NOT 1b --- BIT 2,A CB57 Z flag <- NOT 2b --- BIT 2,B CB50 Z flag <- NOT 2b --- BIT 2,C CB51 Z flag <- NOT 2b --- BIT 2,D CB52 Z flag <- NOT 2b --- BIT 2,E CB53 Z flag <- NOT 2b --- BIT 2,H CB54 Z flag <- NOT 2b --- BIT 2,L CB55 Z flag <- NOT 2b --- BIT 2,(HL) CB56 Z flag <- NOT 2b --- BIT 2,(IX+index) DDCBindex56 Z flag <- NOT 2b --- BIT 2,(IY+index) FDCBindex56 Z flag <- NOT 2b --- BIT 3,A CB5F Z flag <- NOT 3b --- BIT 3,B CB58 Z flag <- NOT 3b --- BIT 3,C CB59 Z flag <- NOT 3b --- BIT 3,D CB5A Z flag <- NOT 3b --- BIT 3,E CB5B Z flag <- NOT 3b --- BIT 3,H CB5C Z flag <- NOT 3b --- BIT 3,L CB5D Z flag <- NOT 3b --- BIT 3,(HL) CB5E Z flag <- NOT 3b --- BIT 3,(IX+index) DDCBindex5E Z flag <- NOT 3b --- BIT 3,(IY+index) FDCBindex5E Z flag <- NOT 3b 8080/Z80 Instruction Set Page 12 Bit Manipulation Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- BIT 4,A CB67 Z flag <- NOT 4b --- BIT 4,B CB60 Z flag <- NOT 4b --- BIT 4,C CB61 Z flag <- NOT 4b --- BIT 4,D CB62 Z flag <- NOT 4b --- BIT 4,E CB63 Z flag <- NOT 4b --- BIT 4,H CB64 Z flag <- NOT 4b --- BIT 4,L CB65 Z flag <- NOT 4b --- BIT 4,(HL) CB66 Z flag <- NOT 4b --- BIT 4,(IX+index) DDCBindex66 Z flag <- NOT 4b --- BIT 4,(IY+index) FDCBindex66 Z flag <- NOT 4b --- BIT 5,A CB6F Z flag <- NOT 5b --- BIT 5,B CB68 Z flag <- NOT 5b --- BIT 5,C CB69 Z flag <- NOT 5b --- BIT 5,D CB6A Z flag <- NOT 5b --- BIT 5,E CB6B Z flag <- NOT 5b --- BIT 5,H CB6C Z flag <- NOT 5b --- BIT 5,L CB6D Z flag <- NOT 5b --- BIT 5,(HL) CB6E Z flag <- NOT 5b --- BIT 5,(IX+index) DDCBindex6E Z flag <- NOT 5b --- BIT 5,(IY+index) FDCBindex6E Z flag <- NOT 5b --- BIT 6,A CB77 Z flag <- NOT 6b --- BIT 6,B CB70 Z flag <- NOT 6b --- BIT 6,C CB71 Z flag <- NOT 6b --- BIT 6,D CB72 Z flag <- NOT 6b --- BIT 6,E CB73 Z flag <- NOT 6b --- BIT 6,H CB74 Z flag <- NOT 6b --- BIT 6,L CB75 Z flag <- NOT 6b --- BIT 6,(HL) CB76 Z flag <- NOT 6b --- BIT 6,(IX+index) DDCBindex76 Z flag <- NOT 6b --- BIT 6,(IY+index) FDCBindex76 Z flag <- NOT 6b --- BIT 7,A CB7F Z flag <- NOT 7b --- BIT 7,B CB78 Z flag <- NOT 7b --- BIT 7,C CB79 Z flag <- NOT 7b --- BIT 7,D CB7A Z flag <- NOT 7b --- BIT 7,E CB7B Z flag <- NOT 7b --- BIT 7,H CB7C Z flag <- NOT 7b --- BIT 7,L CB7D Z flag <- NOT 7b --- BIT 7,(HL) CB7E Z flag <- NOT 7b --- BIT 7,(IX+index) DDCBindex7E Z flag <- NOT 7b --- BIT 7,(IY+index) FDCBindex7E Z flag <- NOT 7b --- RES 0,A CB87 0b <- 0 --- RES 0,B CB80 0b <- 0 --- RES 0,C CB81 0b <- 0 --- RES 0,D CB82 0b <- 0 --- RES 0,E CB83 0b <- 0 --- RES 0,H CB84 0b <- 0 --- RES 0,L CB85 0b <- 0 --- RES 0,(HL) CB86 0b <- 0 --- RES 0,(IX+index) DDCBindex86 0b <- 0 --- RES 0,(IY+index) FDCBindex86 0b <- 0 8080/Z80 Instruction Set Page 13 Bit Manipulation Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- RES 1,A CB8F 1b <- 0 --- RES 1,B CB88 1b <- 0 --- RES 1,C CB89 1b <- 0 --- RES 1,D CB8A 1b <- 0 --- RES 1,E CB8B 1b <- 0 --- RES 1,H CB8C 1b <- 0 --- RES 1,L CB8D 1b <- 0 --- RES 1,(HL) CB8E 1b <- 0 --- RES 1,(IX+index) DDCBindex8E 1b <- 0 --- RES 1,(IY+index) FDCBindex8E 1b <- 0 --- RES 2,A CB97 2b <- 0 --- RES 2,B CB90 2b <- 0 --- RES 2,C CB91 2b <- 0 --- RES 2,D CB92 2b <- 0 --- RES 2,E CB93 2b <- 0 --- RES 2,H CB94 2b <- 0 --- RES 2,L CB95 2b <- 0 --- RES 2,(HL) CB96 2b <- 0 --- RES 2,(IX+index) DDCBindex96 2b <- 0 --- RES 2,(IY+index) FDCBindex96 2b <- 0 --- RES 3,A CB9F 3b <- 0 --- RES 3,B CB98 3b <- 0 --- RES 3,C CB99 3b <- 0 --- RES 3,D CB9A 3b <- 0 --- RES 3,E CB9B 3b <- 0 --- RES 3,H CB9C 3b <- 0 --- RES 3,L CB9D 3b <- 0 --- RES 3,(HL) CB9E 3b <- 0 --- RES 3,(IX+index) DDCBindex9E 3b <- 0 --- RES 3,(IY+index) FDCBindex9E 3b <- 0 --- RES 4,A CBA7 4b <- 0 --- RES 4,B CBA0 4b <- 0 --- RES 4,C CBA1 4b <- 0 --- RES 4,D CBA2 4b <- 0 --- RES 4,E CBA3 4b <- 0 --- RES 4,H CBA4 4b <- 0 --- RES 4,L CBA5 4b <- 0 --- RES 4,(HL) CBA6 4b <- 0 --- RES 4,(IX+index) DDCBindexA6 4b <- 0 --- RES 4,(IY+index) FDCBindexA6 4b <- 0 --- RES 5,A CBAF 5b <- 0 --- RES 5,B CBA8 5b <- 0 --- RES 5,C CBA9 5b <- 0 --- RES 5,D CBAA 5b <- 0 --- RES 5,E CBAB 5b <- 0 --- RES 5,H CBAC 5b <- 0 --- RES 5,L CBAD 5b <- 0 --- RES 5,(HL) CBAE 5b <- 0 --- RES 5,(IX+index) DDCBindexAE 5b <- 0 --- RES 5,(IY+index) FDCBindexAE 5b <- 0 8080/Z80 Instruction Set Page 14 Bit Manipulation Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- RES 6,A CBB7 6b <- 0 --- RES 6,B CBB0 6b <- 0 --- RES 6,C CBB1 6b <- 0 --- RES 6,D CBB2 6b <- 0 --- RES 6,E CBB3 6b <- 0 --- RES 6,H CBB4 6b <- 0 --- RES 6,L CBB5 6b <- 0 --- RES 6,(HL) CBB6 6b <- 0 --- RES 6,(IX+index) DDCBindexB6 6b <- 0 --- RES 6,(IY+index) FDCBindexB6 6b <- 0 --- RES 7,A CBBF 7b <- 0 --- RES 7,B CBB8 7b <- 0 --- RES 7,C CBB9 7b <- 0 --- RES 7,D CBBA 7b <- 0 --- RES 7,E CBBB 7b <- 0 --- RES 7,H CBBC 7b <- 0 --- RES 7,L CBBD 7b <- 0 --- RES 7,(HL) CBBE 7b <- 0 --- RES 7,(IX+index) DDCBindexBE 7b <- 0 --- RES 7,(IY+index) FDCBindexBE 7b <- 0 --- SET 0,A CBC7 0b <- 1 --- SET 0,B CBC0 0b <- 1 --- SET 0,C CBC1 0b <- 1 --- SET 0,D CBC2 0b <- 1 --- SET 0,E CBC3 0b <- 1 --- SET 0,H CBC4 0b <- 1 --- SET 0,L CBC5 0b <- 1 --- SET 0,(HL) CBC6 0b <- 1 --- SET 0,(IX+index) DDCBindexC6 0b <- 1 --- SET 0,(IY+index) FDCBindexC6 0b <- 1 --- SET 1,A CBCF 1b <- 1 --- SET 1,B CBC8 1b <- 1 --- SET 1,C CBC9 1b <- 1 --- SET 1,D CBCA 1b <- 1 --- SET 1,E CBCB 1b <- 1 --- SET 1,H CBCC 1b <- 1 --- SET 1,L CBCD 1b <- 1 --- SET 1,(HL) CBCE 1b <- 1 --- SET 1,(IX+index) DDCBindexCE 1b <- 1 --- SET 1,(IY+index) FDCBindexCE 1b <- 1 --- SET 2,A CBD7 2b <- 1 --- SET 2,B CBD0 2b <- 1 --- SET 2,C CBD1 2b <- 1 --- SET 2,D CBD2 2b <- 1 --- SET 2,E CBD3 2b <- 1 --- SET 2,H CBD4 2b <- 1 --- SET 2,L CBD5 2b <- 1 --- SET 2,(HL) CBD6 2b <- 1 --- SET 2,(IX+index) DDCBindexD6 2b <- 1 --- SET 2,(IY+index) FDCBindexD6 2b <- 1 8080/Z80 Instruction Set Page 15 Bit Manipulation Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- SET 3,A CBDF 3b <- 1 --- SET 3,B CBD8 3b <- 1 --- SET 3,C CBD9 3b <- 1 --- SET 3,D CBDA 3b <- 1 --- SET 3,E CBDB 3b <- 1 --- SET 3,H CBDC 3b <- 1 --- SET 3,L CBDD 3b <- 1 --- SET 3,(HL) CBDE 3b <- 1 --- SET 3,(IX+index) DDCBindexDE 3b <- 1 --- SET 3,(IY+index) FDCBindexDE 3b <- 1 --- SET 4,A CBE7 4b <- 1 --- SET 4,B CBE0 4b <- 1 --- SET 4,C CBE1 4b <- 1 --- SET 4,D CBE2 4b <- 1 --- SET 4,E CBE3 4b <- 1 --- SET 4,H CBE4 4b <- 1 --- SET 4,L CBE5 4b <- 1 --- SET 4,(HL) CBE6 4b <- 1 --- SET 4,(IX+index) DDCBindexE6 4b <- 1 --- SET 4,(IY+index) FDCBindexE6 4b <- 1 --- SET 5,A CBEF 5b <- 1 --- SET 5,B CBE8 5b <- 1 --- SET 5,C CBE9 5b <- 1 --- SET 5,D CBEA 5b <- 1 --- SET 5,E CBEB 5b <- 1 --- SET 5,H CBEC 5b <- 1 --- SET 5,L CBED 5b <- 1 --- SET 5,(HL) CBEE 5b <- 1 --- SET 5,(IX+index) DDCBindexEE 5b <- 1 --- SET 5,(IY+index) FDCBindexEE 5b <- 1 --- SET 6,A CBF7 6b <- 1 --- SET 6,B CBF0 6b <- 1 --- SET 6,C CBF1 6b <- 1 --- SET 6,D CBF2 6b <- 1 --- SET 6,E CBF3 6b <- 1 --- SET 6,H CBF4 6b <- 1 --- SET 6,L CBF5 6b <- 1 --- SET 6,(HL) CBF6 6b <- 1 --- SET 6,(IX+index) DDCBindexF6 6b <- 1 --- SET 6,(IY+index) FDCBindexF6 6b <- 1 --- SET 7,A CBFF 7b <- 1 --- SET 7,B CBF8 7b <- 1 --- SET 7,C CBF9 7b <- 1 --- SET 7,D CBFA 7b <- 1 --- SET 7,E CBFB 7b <- 1 --- SET 7,H CBFC 7b <- 1 --- SET 7,L CBFD 7b <- 1 --- SET 7,(HL) CBFE 7b <- 1 --- SET 7,(IX+index) DDCBindexFE 7b <- 1 --- SET 7,(IY+index) FDCBindexFE 7b <- 1 8080/Z80 Instruction Set Page 16 Bit Shift Instructions (Z80 Only) 8080 Mnemonic Z80 Mnemonic Code Operation --- SLA A CB27 --- --- SLA B CB20 --- --- SLA C CB21 --- --- SLA D CB22 --- --- SLA E CB23 --- --- SLA H CB24 --- --- SLA L CB25 --- --- SLA (HL) CB26 --- --- SLA (IX+index) DDCBindex26 --- --- SLA (IY+index) FDCBindex26 --- --- SRA A CB2F --- --- SRA B CB28 --- --- SRA C CB29 --- --- SRA D CB2A --- --- SRA E CB2B --- --- SRA H CB2C --- --- SRA L CB2D --- --- SRA (HL) CB2E --- --- SRA (IX+index) DDCBindex2E --- --- SRA (IY+index) FDCBindex2E --- --- SRL A CB3F --- --- SRL B CB38 --- --- SRL C CB39 --- --- SRL D CB3A --- --- SRL E CB3B --- --- SRL H CB3C --- --- SRL L CB3D --- --- SRL (HL) CB3E --- --- SRL (IX+index) DDCBindex3E --- --- SRL (IY+index) FDCBindex3E ---