Load
The contents of register reg8S are stored into reg8D. Includes 1R cycle for ld reg8D, (hl) or 1W cycle for ld (hl), reg8S.
- Opcode:
01reg8Dreg8SRegister Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 1
- Flags: None
- Cycles: 1F (+1R/1W)
Stores the high byte of regih into reg8.
- Opcode:
regih01100reg8Index Bit Field ixh11011101iyh11111101Register Bit Field a111b000c001d010e011ixh/iyh100ixl/iyl101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores the low byte of regil into reg8.
- Opcode:
regil01101reg8Index Bit Field ixl11011101iyl11111101Register Bit Field a111b000c001d010e011ixh/iyh100ixl/iyl101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores reg8 into the high byte of regih.
- Opcode:
regih01100reg8Index Bit Field ixh11011101iyh11111101Register Bit Field a111b000c001d010e011ixh/iyh100ixl/iyl101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores reg8 into the low byte of regil.
- Opcode:
regil01101reg8Index Bit Field ixl11011101iyl11111101Register Bit Field a111b000c001d010e011ixh/iyh100ixl/iyl101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores an immediate value imm8 into reg8.
- Opcode:
01reg8110imm8Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores imm8 into the high byte of regih.
- Opcode:
regih00100110imm8Index Bit Field ixh11011101iyh11111101 - Bytes: 3
- Flags: None
- Cycles: 3F
Stores imm8 into the low byte of regil.
- Opcode:
regil00101110imm8Index Bit Field ixl11011101iyl11111101 - Bytes: 3
- Flags: None
- Cycles: 3F
Stores the byte of memory pointed to by imm24 into reg8.
- Opcode:
00111010imm24 - Bytes: 4
- Flags: None
- Cycles: 4F+1R
Stores the byte of memory pointed to by reg24 into reg8.
- Opcode:
000reg241010Register Bit Field bc0de1 - Bytes: 1
- Flags: None
- Cycles: 1F+1R
Stores the byte of memory pointed to by regi + ofs8 into reg8.
- Opcode:
regi01reg8110ofs8Index Bit Field ix11011101iy11111101Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 3
- Flags: None
- Cycles: 3F+1R
Stores reg8 into the address pointed to by imm24.
- Opcode:
00110010imm24 (little endian) - Bytes: 4
- Flags: None
- Cycles: 4F+1W
Stores reg8 into the address pointed to by reg24.
- Opcode:
000reg240010Register Bit Field bc0de1 - Bytes: 1
- Flags: None
- Cycles: 1F+1W
Stores reg8 into the address pointed to by regi + ofs8.
- Opcode:
regi01110reg8ofs8Index Bit Field ix11011101iy11111101Register Bit Field a111b000c001d010e011h100l101(hl)110 - Bytes: 3
- Flags: None
- Cycles: 3F+1W
Stores imm8 into the address pointed to by regi + ofs8.
- Opcode:
regi00110110ofs8imm8Index Bit Field ix11011101iy11111101 - Bytes: 4
- Flags: None
- Cycles: 4F+1W
Stores hl into sp.
- Opcode:
11111001 - Bytes: 1
- Flags: None
- Cycles: 1F
Stores regi into sp.
- Opcode:
regi11111001Index Bit Field ix11011101iy11111101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores imm24 into reg24.
- Opcode:
00reg240001imm24Register Bit Field bc00de01hl10sp11 - Bytes: 4
- Flags: None
- Cycles: 4F
Stores imm24 into regi.
- Opcode:
regi00100001imm24Index Bit Field ix11011101iy11111101 - Bytes: 5
- Flags: None
- Cycles: 5F
Stores the value pointed to by imm24 into hl.
- Opcode:
00101010imm24 - Bytes: 4
- Flags: None
- Cycles: 4F+3R
Stores the value pointed to by imm24 into reg24.
- Opcode:
1110110101reg241011imm24Register Bit Field bc00de01hl10sp11 - Bytes: 5
- Flags: None
- Cycles: 5F+3R
Stores the value pointed to by imm24 into regi.
- Opcode:
regi00101010imm24Index Bit Field ix11011101iy11111101 - Bytes: 5
- Flags: None
- Cycles: 5F+3R
Loads reg24 with the word of memory pointed to by hl.
- Opcode:
1110110100reg240111Register Bit Field bc00de01hl10 - Bytes: 2
- Flags: None
- Cycles: 2F + 3R
Loads regi with the word of memory pointed to by hl.
- Opcode:
11101101regiIndex Bit Field ix00110111iy00110001 - Bytes: 2
- Flags: None
- Cycles: 2F + 3R
Loads the word of memory pointed to by regi + ofs8 into reg24.
- Opcode:
regi00reg240111ofs8Index Bit Field ix11011101iy11111101Register Bit Field bc00de01hl10 - Bytes: 3
- Flags: None
- Cycles: 3F + 3R
Loads regi with the word of memory pointed to by ix plus ofs8.
- Opcode:
11011101regiofs8Index Bit Field ix00110111iy00110001 - Bytes: 3
- Flags: None
- Cycles: 3F + 3R
Loads regi with the word of memory pointed to by iy plus ofs8.
- Opcode:
11111101regiofs8Index Bit Field ix00110111iy00110001 - Bytes: 3
- Flags: None
- Cycles: 3F + 3R
Stores hl to the address pointed to by imm24.
- Opcode:
00100010imm24 - Bytes: 4
- Flags: None
- Cycles: 4F+3W
Stores reg24 to the address pointed to by imm24.
- Opcode:
1110110101reg240011imm24Register Bit Field bc00de01hl10sp11 - Bytes: 5
- Flags: None
- Cycles: 5F+3W
Stores regi to the address pointed to by imm24.
- Opcode:
regi00100010imm24Index Bit Field ix11011101iy11111101 - Bytes: 5
- Flags: None
- Cycles: 5F+3W
Stores reg24 into the word of memory pointed to by regi + ofs8.
- Opcode:
regi00reg241111ofs8Index Bit Field ix11011101iy11111101Register Bit Field bc00de01hl10 - Bytes: 3
- Flags: None
- Cycles: 3F + 3W
Loads the word of memory at ix plus ofs8 with regi.
- Opcode:
11011101regiofs8Index Bit Field ix00111111iy00111110 - Bytes: 3
- Flags: None
- Cycles: 3F + 3W
Loads the word of memory at iy plus ofs8 with regi.
- Opcode:
11111101regiofs8Index Bit Field ix00111111iy00111110 - Bytes: 3
- Flags: None
- Cycles: 3F + 3W
Stores the value of reg8 into regir.
- Opcode:
111011010100regir111Register Bit Field i0r1 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores the value of a into mb.
- Opcode:
1110110101101101 - Bytes: 2
- Flags: None
- Cycles: 2F
Stores the value of mb into a.
- Opcode:
1110110101101110 - Bytes: 2
- Flags: None
- Cycles: 2F
Loads regi with the value of ix plus ofs8.
- Opcode:
11101101regiofs8Index Bit Field ix01010100iy00110011 - Bytes: 3
- Flags: None
- Cycles: 3F
Loads regi with the value of iy plus ofs8.
- Opcode:
11101101regiofs8Index Bit Field ix00110010iy01010101 - Bytes: 3
- Flags: None
- Cycles: 3F
Loads reg24 with the value of regi + ofs8.
- Opcode:
regi00reg24001regiofs8Index Bit Field ix11011101,0iy11111101,1Register Bit Field bc00de01hl10 - Bytes: 3
- Flags: None
- Cycles: 3F
The value of regi plus ofs8 is pushed to the stack.
- Opcode:
11101101011001regiofs8Index Bit Field ix01iy10 - Bytes: 3
- Flags: None
- Cycles: 3F + 3W
The word of memory pointed to by sp is stored into reg24 and sp is incremented by the word size.
- Opcode:
11reg240001Register Bit Field bc00de01hl10af11 - Bytes: 1
- Flags: None
- Cycles: 1F+3R
The word of memory pointed to by sp is stored into regi and sp is incremented by the word size.
- Opcode:
regi11100001Register Bit Field ix11011101iy11111101 - Bytes: 2
- Flags: None
- Cycles: 2F+3R
sp is decremented by the word size and reg24 is stored into the word of memory pointed to by sp.
- Opcode:
11reg240101Register Bit Field bc00de01hl10af11 - Bytes: 1
- Flags: None
- Cycles: 1F+3W
sp is decremented by the word size and regi is stored into the word of memory pointed to by sp.
- Opcode:
regi11100101Register Bit Field ix11011101iy11111101 - Bytes: 2
- Flags: None
- Cycles: 2F+3W