X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/341cd5fd179c196bb105f611d662a6339bc33ef0..refs/heads/master:/opcodes diff --git a/opcodes b/opcodes index 5a03850..8aa627e 100644 --- a/opcodes +++ b/opcodes @@ -8,15 +8,9 @@ imm16 = 16-bit immediate value bits insn notes 0000 1000 LD 16m16,SP loads SP -0000 1001 ADD HL, BC 0001 0000 STOP -0001 1001 ADD HL, DE -0010 1001 ADD HL, HL -0011 1001 ADD HL, SP 0111 0110 HALT Danger! Helvetica! 1100 1011 - - - see two-byte opcodes below -1110 1000 ADD SP, imm8 -1111 1000 LDHL SP, imm8 load SP+n (signed n) into HL ***************************** @@ -95,15 +89,6 @@ bits insn notes 1100 1011 0011 0110 SWAP (HL) 1100 1011 0011 0111 SWAP A -1100 1011 0100 0000 BIT imm3, B test bit specified by imm3 -1100 1011 0100 0001 BIT imm3, C -1100 1011 0100 0010 BIT imm3, D -1100 1011 0100 0011 BIT imm3, E -1100 1011 0100 0100 BIT imm3, H -1100 1011 0100 0101 BIT imm3, L -1100 1011 0100 0110 BIT imm3, (HL) -1100 1011 0100 0111 BIT imm3, A - 1100 1011 1000 0000 RES imm3, B reset bit specified by imm3 1100 1011 1000 0001 RES imm3, C 1100 1011 1000 0010 RES imm3, D