id
stringlengths
7
14
test_class
dict
test_case
dict
focal_class
dict
focal_method
dict
repository
dict
32104835_213
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_DJNZ_false() {\n final Z80State state = new Z80State();\n\n state.B = 5;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x10, 0x03);\n\n assertEquals(0x0005, cpu.getLeft().getRegister(Z80.REG_PC));\n assertEquals(4, cpu.getLeft().getRegister(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_57
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_N_flagV() {\n final Z80State state = new Z80State();\n state.A = 0x44;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xC6, 0x7F);\n\n assertEquals(0xC3, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_182
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_IM1() {\n final Z80State state = new Z80State();\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x56);\n\n assertEquals(1, cpu.getLeft().getIM());\n\n assertEquals(8, cpu.getRight().intValue());\n assertFlagsNotChanged(state, cpu.getLeft());\n ...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getIM() {\n return this.im;\n }", "class_method_signature": "Z80.getIM()", "constructor": false, "full_signature": "public int getIM()", "identifier": "getIM", "invocations": [], "modifiers": "public", "parameters": "()", "return": "int", "signature": "int getIM()", "test...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_16
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_mIYd() {\n final Z80State state = new Z80State();\n state.A = 12;\n state.IY = 0x1234;\n this.memory[0x1239] = 0x73;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x7E, 5);\n assertEquals(0x73, cpu.getLeft().getRegister(Z80.REG_A));\n ...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_194
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_PO_nn_true() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_PV) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xE2, 0x34, 0x12);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotC...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_41
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IY_mNN() {\n final Z80State state = new Z80State();\n this.memory[0x1234] = (byte) 0xAA;\n this.memory[0x1235] = (byte) 0xBB;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x2A, 0x34, 0x12);\n assertEquals(0xBBAA, cpu.getLeft().getRegister(Z...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_205
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_Z_nn_true() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_Z;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x28, 0x03);\n\n assertEquals(0x0005, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_157
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SLA_mHL() {\n final Z80State state = new Z80State();\n state.H = 0x12;\n state.L = 0x34;\n state.F = 0x00;\n\n memory[0x1234] = (byte) 0xB1;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x26);\n\n assertMemory(0x1234, 0x62);\n asser...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_229
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IYh_nn() {\n final Z80State state = new Z80State();\n state.IY = 0xFFFF;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x26, 0x12);\n assertEquals(0x12FF, cpu.getLeft().getRegister(Z80.REG_IY));\n assertFlagsNotChanged(state, cpu.getLeft());...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_82
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_AND_N() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xE6, 0x11);\n\n assertEquals(0x01, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(Z80.FL...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_5
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_L() {\n final Z80State state = new Z80State();\n state.A = 12;\n state.L = 15;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x7D);\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_100
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_CP_n_A_less_Value() {\n final Z80State state = new Z80State();\n state.A = 69;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFE, 254);\n\n assertEquals(69, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(Z...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_94
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_XOR_mIXd() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.IX = 0x1234;\n state.F = 0xFF;\n\n memory[0x1239] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xAE, 0x05);\n\n assertEquals(0x38, cpu.getLeft().ge...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_116
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_INC_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x2020;\n state.F = 0xFF;\n\n this.memory[0x2030] = 0x34;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x34, 0x10);\n\n assertEquals(0x2020, cpu.getLeft().getRegister(Z80....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_141
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RLC_mIXd() {\n final Z80State state = new Z80State();\n state.IX = 0x1234;\n state.F = 0x00;\n\n memory[0x1239] = (byte) 0x88;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xCB, 0x05, 0x06);\n\n assertMemory(0x1239, 0x11);\n assertEqua...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_136
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RLA() {\n final Z80State state = new Z80State();\n state.A = 0x76;\n state.F = Z80.FLAG_C;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x17);\n\n assertEquals(0xED, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(0, cpu.get...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_161
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SLL_mHL() {\n final Z80State state = new Z80State();\n state.H = 0x12;\n state.L = 0x34;\n state.F = 0x00;\n\n memory[0x1234] = (byte) 0xB1;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x36);\n\n assertMemory(0x1234, 0x63);\n asser...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_177
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_BIT_2_mIXd() {\n final Z80State state = new Z80State();\n state.IX = 0x5000;\n\n this.memory[0x5010] = (byte) 4;\n\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xCB, 0x10, 0x56);\n\n assertEquals(Z80.FLAG_H, cpu.getLeft(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_198
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_P_nn_true() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_S) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xF2, 0x34, 0x12);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotCha...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_120
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_INC_IX() {\n final Z80State state = new Z80State();\n state.IX = 0x1000;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x23);\n\n assertEquals(0x1001, cpu.getLeft().getRegister(Z80.REG_IX));\n assertFlagsNotChanged(state,...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_209
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_C_nn_true() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_C;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x38, 0x03);\n\n assertEquals(0x0005, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_36
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IY_nn() {\n final Z80State state = new Z80State();\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x21, 0x34, 0x12);\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_IY));\n assertFlagsNotChanged(state, cpu.getLeft());\n assertEquals(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_9
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_IYl() {\n final Z80State state = new Z80State();\n state.A = 0xFF;\n state.IY = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x7D);\n assertEquals(0x34, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(0x1234, cpu.getLeft(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_61
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_C_flagsZCH() {\n final Z80State state = new Z80State();\n state.A = 0xFF;\n state.C = 0x01;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x81);\n\n assertEquals(0x01, cpu.getLeft().getRegister(Z80.REG_C));\n assertEqu...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_225
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_D_IYl() {\n final Z80State state = new Z80State();\n state.D = 0xEE;\n state.IY = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x55);\n assertEquals(0x34, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_233
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_D_IXl() {\n final Z80State state = new Z80State();\n state.D = 0xEE;\n state.IX = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x55);\n assertEquals(0x34, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_77
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SBC_mIXd() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.F = 0xFF;\n\n state.IX = 0x1234;\n\n memory[0x1237] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x9E, 0x03);\n\n assertEquals(0x17, cpu.getLeft()....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_98
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_CP_C_Less() {\n final Z80State state = new Z80State();\n state.A = 0xF7;\n state.C = 0xF6;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xB9);\n\n assertEquals(0xF6, cpu.getLeft().getRegister(Z80.REG_C));\n assertEquals(0...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_20
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_mNN() {\n final Z80State state = new Z80State();\n state.A = 0x48;\n this.memory[0x1234] = 0x33;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x3A, 0x34, 0x12);\n assertEquals(0x33, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(0x33,...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_21
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_mBC_A() {\n final Z80State state = new Z80State();\n state.A = 0x48;\n state.B = 0x12;\n state.C = 0x34;\n this.memory[0x1234] = 0x33;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x02);\n assertEquals(0x48, cpu.getLeft().getRegister(Z80.RE...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_232
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_D_IXh() {\n final Z80State state = new Z80State();\n state.D = 0xEE;\n state.IX = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x54);\n assertEquals(0x12, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_76
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SBC_mHL() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.F = 0xFF;\n\n state.L = 0x34;\n state.H = 0x12;\n\n memory[0x1234] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x9E);\n\n assertEquals(0x17, cpu.getLe...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_99
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_CP_n() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFE, 0x11);\n\n assertEquals(0x29, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(FLAG_N, c...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_60
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_mIYd_flagV() {\n final Z80State state = new Z80State();\n state.A = 0x44;\n\n state.F = 0xFF;\n state.IY = 0x1234;\n\n memory[0x1237] = (byte) 0x7F;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x86, 3);\n\n assertEquals(0xC3, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_224
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_D_IYh() {\n final Z80State state = new Z80State();\n state.D = 0xEE;\n state.IY = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x54);\n assertEquals(0x12, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsNotChanged(state, cpu....
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_8
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_IYh() {\n final Z80State state = new Z80State();\n state.A = 0xFF;\n state.IY = 0x1234;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x7C);\n assertEquals(0x12, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(0x1234, cpu.getLeft(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_37
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_BC_mNN() {\n final Z80State state = new Z80State();\n this.memory[0x1234] = (byte) 0xAA;\n this.memory[0x1235] = (byte) 0xBB;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x4B, 0x34, 0x12);\n assertEquals(0xBBAA, cpu.getLeft().getRegisterPa...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegisterPair(final int regPair) {\n return this.getRegisterPair(regPair, false);\n }", "class_method_signature": "Z80.getRegisterPair(final int regPair)", "constructor": false, "full_signature": "public int getRegisterPair(final int regPair)", "identifier": "getRegisterPair", "i...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_208
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_C_nn_false() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_C) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x38, 0x03);\n\n assertEquals(0x0002, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_121
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_INC_IXh() {\n final Z80State state = new Z80State();\n state.IX = 0x1000;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x24);\n\n assertEquals(0x1100, cpu.getLeft().getRegister(Z80.REG_IX));\n assertEquals(8, cpu.getRigh...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_176
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_BIT_2_mHL() {\n final Z80State state = new Z80State();\n state.H = 0x50;\n state.L = 0x00;\n\n this.memory[0x5000] = (byte) 4;\n\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x56);\n\n assertEquals(Z80.FLAG_H, cpu.get...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_199
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_M_nn_false() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_S) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xFA, 0x34, 0x12);\n\n assertEquals(0x0003, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotCh...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_160
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SLL_D() {\n final Z80State state = new Z80State();\n state.D = 0xB1;\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x32);\n\n assertEquals(0x63, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsExcludeReserved(Z80.FLAG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_137
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RRCA() {\n final Z80State state = new Z80State();\n state.A = 0x11;\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x0F);\n\n assertEquals(0x88, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(Z80.FLAG_C, cpu...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_140
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RLC_mHL() {\n final Z80State state = new Z80State();\n state.H = 0x12;\n state.L = 0x34;\n state.F = 0x00;\n\n memory[0x1234] = (byte) 0x88;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x06);\n\n assertMemory(0x1234, 0x11);\n asser...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_117
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_INC_BC() {\n final Z80State state = new Z80State();\n state.B = 0x10;\n state.C = 0x00;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x03);\n\n assertEquals(0x1001, cpu.getLeft().getRegisterPair(Z80.REGPAIR_BC));\n assertFl...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegisterPair(final int regPair) {\n return this.getRegisterPair(regPair, false);\n }", "class_method_signature": "Z80.getRegisterPair(final int regPair)", "constructor": false, "full_signature": "public int getRegisterPair(final int regPair)", "identifier": "getRegisterPair", "i...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_95
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_XOR_mIYd() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.IY = 0x1234;\n state.F = 0xFF;\n\n memory[0x1239] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xAE, 0x05);\n\n assertEquals(0x38, cpu.getLeft().ge...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_4
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_H() {\n final Z80State state = new Z80State();\n state.A = 12;\n state.H = 15;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x7C);\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_101
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_CP_n_A_greater_Value() {\n final Z80State state = new Z80State();\n state.A = 0xFE;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFE, 69);\n\n assertEquals(0xFE, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeRese...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_228
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IXl_nn() {\n final Z80State state = new Z80State();\n state.IX = 0xFFFF;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x2E, 0x12);\n assertEquals(0xFF12, cpu.getLeft().getRegister(Z80.REG_IX));\n assertFlagsNotChanged(state, cpu.getLeft());...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_83
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_AND_mHL() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.L = 0x34;\n state.H = 0x12;\n state.F = 0xFF;\n\n memory[0x1234] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xA6);\n\n assertEquals(0x01, cpu.getLeft...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_156
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SLA_A() {\n final Z80State state = new Z80State();\n state.A = 0xB1;\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x27);\n\n assertEquals(0x62, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(Z80.FLAG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_40
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IX_mNN() {\n final Z80State state = new Z80State();\n this.memory[0x1234] = (byte) 0xAA;\n this.memory[0x1235] = (byte) 0xBB;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x2A, 0x34, 0x12);\n assertEquals(0xBBAA, cpu.getLeft().getRegister(Z...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_204
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_Z_nn_false() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_Z) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x28, 0x03);\n\n assertEquals(0x0002, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_195
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_PE_nn_false() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_PV) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xEA, 0x34, 0x12);\n\n assertEquals(0x0003, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNot...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_17
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_mIYd_A() {\n final Z80State state = new Z80State();\n state.A = 0x48;\n state.IY = 0x1234;\n this.memory[0x1232] = 0x33;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x77, -2);\n assertEquals(0x48, cpu.getLeft().getRegister(Z80.REG_A));\...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_183
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_IM2() {\n final Z80State state = new Z80State();\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x5E);\n\n assertEquals(2, cpu.getLeft().getIM());\n\n assertEquals(8, cpu.getRight().intValue());\n assertFlagsNotChanged(state, cpu.getLeft());\n ...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getIM() {\n return this.im;\n }", "class_method_signature": "Z80.getIM()", "constructor": false, "full_signature": "public int getIM()", "identifier": "getIM", "invocations": [], "modifiers": "public", "parameters": "()", "return": "int", "signature": "int getIM()", "test...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_212
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_rIY() {\n final Z80State state = new Z80State();\n\n state.IY = 0x1234;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xFD, 0xE9);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state, cpu.getLeft...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_56
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_C_flagV() {\n final Z80State state = new Z80State();\n state.A = 0x44;\n state.C = 0x7F;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x81);\n\n assertEquals(0x7F, cpu.getLeft().getRegister(Z80.REG_C));\n assertEquals...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_130
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_DEC_BC() {\n final Z80State state = new Z80State();\n state.B = 0x10;\n state.C = 0x00;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x0B);\n\n assertEquals(0x0FFF, cpu.getLeft().getRegisterPair(Z80.REGPAIR_BC));\n assertFl...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegisterPair(final int regPair) {\n return this.getRegisterPair(regPair, false);\n }", "class_method_signature": "Z80.getRegisterPair(final int regPair)", "constructor": false, "full_signature": "public int getRegisterPair(final int regPair)", "identifier": "getRegisterPair", "i...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_219
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RES_4_mIYd_r() {\n final int[] codes = new int[] {0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA7};\n final int[] regs =\n new int[] {Z80.REG_B, Z80.REG_C, Z80.REG_D, Z80.REG_E, Z80.REG_H, Z80.REG_L, Z80.REG_A};\n\n for (int i = 0; i < codes.length; i++) {\n f...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_167
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SRA_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x1234;\n state.F = 0x00;\n\n memory[0x1232] = (byte) 0xB8;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xCB, -2, 0x2E);\n\n assertMemory(0x1232, 0xDC);\n assertFlagsE...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_188
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_C_nn_true() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_C;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xDA, 0x34, 0x12);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_171
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SRL_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x1234;\n state.F = 0x00;\n\n memory[0x1230] = (byte) 0x8F;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xCB, -4, 0x3E);\n\n assertMemory(0x1230, 0x47);\n assertEquals...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_126
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_DEC_D() {\n final Z80State state = new Z80State();\n state.D = 0x2A;\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x15);\n\n assertEquals(0x29, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsExcludeReserved(Z80.FLAG_C | F...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_30
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_I_A() {\n final Z80State state = new Z80State();\n state.A = 0x48;\n state.I = 0;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x47);\n assertEquals(0x48, cpu.getLeft().getRegister(Z80.REG_I));\n assertFlagsNotChanged(state, cpu.getLeft(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_223
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_IYl_D() {\n final Z80State state = new Z80State();\n state.D = 0xDD;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x6A);\n assertEquals(0x00DD, cpu.getLeft().getRegister(Z80.REG_IY));\n assertFlagsNotChanged(state, cpu.getLeft());\n asse...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_67
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADC_mIYd_flagV() {\n final Z80State state = new Z80State();\n state.A = 0x44;\n\n state.IY = 0x1234;\n state.F = 0xFF;\n\n memory[0x1238] = (byte) 0x7F;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x8E, 0x04);\n\n assertEquals(0xC4, c...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_88
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_OR_mHL() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.L = 0x34;\n state.H = 0x12;\n state.F = 0xFF;\n\n memory[0x1234] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xB6);\n\n assertEquals(0x39, cpu.getLeft(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_71
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_SUB_mHL() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n\n state.L = 0x34;\n state.H = 0x12;\n\n memory[0x1234] = 0x11;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x96);\n\n assertEquals(0x18, cpu.get...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_235
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_H_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x25AF;\n this.memory[0x25C8] = (byte) 0xFE;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x66, 0x19);\n assertFlagsNotChanged(state, cpu.getLeft());\n assertEquals(0xFE, c...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_26
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_I_NonZeroAndNegativeIFF2True() {\n final Z80State state = new Z80State();\n state.A = 0x48;\n state.I = -4;\n state.F = 0xFF;\n state.iff1 = false;\n state.iff2 = true;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x57);\n assert...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_51
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_EX_mSP_IX() {\n final Z80State state = new Z80State();\n state.SP = 0x8856;\n state.IX = 0x7012;\n memory[0x8856] = 0x11;\n memory[0x8857] = 0x22;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xE3);\n assertEquals(0x2211, cpu.getLeft().g...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_215
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_OUTDR() {\n final TestBus tb = new TestBus(0, 0x0000);\n\n tb.writeMemory(null, 111, 0x1000, (byte) 0x51);\n tb.writeMemory(null, 111, 0x0FFF, (byte) 0xA9);\n tb.writeMemory(null, 111, 0x0FFE, (byte) 0x03);\n\n final Z80State state = new Z80State();\n stat...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegisterPair(final int regPair) {\n return this.getRegisterPair(regPair, false);\n }", "class_method_signature": "Z80.getRegisterPair(final int regPair)", "constructor": false, "full_signature": "public int getRegisterPair(final int regPair)", "identifier": "getRegisterPair", "i...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_242
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80InstructionTest.java", "identifier": "Z80InstructionTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testCompile_CALL_nn() {\n final Z80Instruction ins = new Z80Instruction(\"CD nn CALL nn\");\n\n final byte[] compiled = ins.compile(\"call 16384\", new Z80Instruction.ExpressionProcessor() {\n\n @Override\n public int evalExpression(final String expression) {\n ...
{ "fields": [ { "declarator": "SPEC_INDEX = 0x100", "modifier": "public static final", "original_string": "public static final int SPEC_INDEX = 0x100;", "type": "int", "var_name": "SPEC_INDEX" }, { "declarator": "SPEC_OFFSET = 0x101", "modifier": "public static fi...
{ "body": "public byte[] compile(final String asm, final ExpressionProcessor expressionCalc) {\n\n final Matcher m = this.compilePattern.matcher(asm.trim());\n if (m.find()) {\n // check constants\n for (int i = 0; i < this.compileGroupTypes.length; i++) {\n final int value = this.compileGroupT...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_184
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_nn() {\n final Z80State state = new Z80State();\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xC3, 0x34, 0x12);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state, cpu.getLeft());\n\n assertEqual...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_10
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_n() {\n final Z80State state = new Z80State();\n state.A = 12;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x3E, 0x67);\n assertEquals(0x67, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsNotChanged(state, cpu.getLeft());\n assertEqual...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_192
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_Z_nn_true() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_Z;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xCA, 0x34, 0x12);\n\n assertEquals(0x1234, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_203
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_NZ_nn_true() {\n final Z80State state = new Z80State();\n state.F = (~Z80.FLAG_Z) & 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x20, 0x03);\n\n assertEquals(0x0005, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_47
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_PUSH_IY() {\n final Z80State state = new Z80State();\n state.IY = 0x2233;\n state.SP = 0x1007;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xE5);\n assertEquals(0x1005, cpu.getLeft().getRegister(Z80.REG_SP));\n assertMemory(0x1006, 0x22);\...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_151
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RR_D() {\n final Z80State state = new Z80State();\n state.D = 0xDD;\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x1A);\n\n assertEquals(0x6E, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsExcludeReserved(Z80.FLAG_...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_84
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_AND_mIXd() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.IX = 0x1234;\n state.F = 0xFF;\n\n memory[0x1239] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xA6, 0x05);\n\n assertEquals(0x01, cpu.getLeft().ge...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_3
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_A_C() {\n final Z80State state = new Z80State();\n state.A = 12;\n state.C = 15;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x79);\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(15, cpu.getLeft().getRegister(Z80.REG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_106
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_IX_DE() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n\n state.IX = 0x3333;\n state.E = 0x55;\n state.D = 0x55;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0x19);\n\n assertEquals(0x8888, cpu...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_239
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_SP_IY() {\n final Z80State state = new Z80State();\n state.IY = 0x25AF;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xF9);\n assertEquals(10, cpu.getRight().intValue());\n assertFlagsNotChanged(state, cpu.getLeft());\n assertEquals(0x25...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_92
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_XOR_n() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xEE, 0x11);\n\n assertEquals(0x38, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(0, cpu...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_110
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_NEG() {\n final Z80State state = new Z80State();\n state.A = 0x98;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xED, 0x44);\n\n assertEquals(0x68, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(Z80.FLAG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_147
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RRC_D() {\n final Z80State state = new Z80State();\n state.D = 0x31;\n state.F = 0x00;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xCB, 0x0A);\n\n assertEquals(0x98, cpu.getLeft().getRegister(Z80.REG_D));\n assertFlagsExcludeReserved(Z80.FLAG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_146
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RL_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x1234;\n state.F = 0x00;\n\n memory[0x1239] = (byte) 0x8F;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xCB, 0x05, 0x16);\n\n assertMemory(0x1239, 0x1E);\n assertFlags...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_111
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_CCF_Set() {\n final Z80State state = new Z80State();\n state.A = 0x98;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x3F);\n\n assertEquals(0x98, cpu.getLeft().getRegister(Z80.REG_A));\n assertFlagsExcludeReserved(\n ...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_238
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_SP_IX() {\n final Z80State state = new Z80State();\n state.IX = 0x25AF;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xF9);\n assertEquals(10, cpu.getRight().intValue());\n assertFlagsNotChanged(state, cpu.getLeft());\n assertEquals(0x25...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_93
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_XOR_mHL() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.L = 0x34;\n state.H = 0x12;\n state.F = 0xFF;\n\n memory[0x1234] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xAE);\n\n assertEquals(0x38, cpu.getLeft...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_2
{ "fields": [], "file": "zxpoly-emul/src/test/java/com/igormaznitsa/zxpoly/utils/ROMLoaderTest.java", "identifier": "ROMLoaderTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testLoadAndExtractROMFromArchiveWOS() throws Exception {\n final RomData data = RomLoader.getROMFrom(\"ftp://anonymous:anonymous@ftp.worldofspectrum.org/pub/sinclair/emulators/pc/russian/ukv12f5.zip\");\n assertEquals(0x4000*3,data.getAsArray().length);\n assertEquals(\"48.rom...
{ "fields": [ { "declarator": "ROM_48 = \"48.rom\"", "modifier": "private static final", "original_string": "private static final String ROM_48 = \"48.rom\";", "type": "String", "var_name": "ROM_48" }, { "declarator": "ROM_128TR = \"128tr.rom\"", "modifier": "priv...
{ "body": "public static RomData getROMFrom(final String url) throws IOException {\n final URI uri;\n try {\n uri = new URI(url);\n } catch (URISyntaxException ex) {\n throw new IOException(\"Error in URL '\" + url + \"\\'\", ex);\n }\n final String scheme = uri.getScheme();\n final String...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_107
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_ADD_IY_DE() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n\n state.IY = 0x3333;\n state.E = 0x55;\n state.D = 0x55;\n\n state.F = 0xFF;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0x19);\n\n assertEquals(0x8888, cpu...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_85
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_AND_mIYd() {\n final Z80State state = new Z80State();\n state.A = 0x29;\n state.IY = 0x1234;\n state.F = 0xFF;\n\n memory[0x1239] = 0x11;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xA6, 0x05);\n\n assertEquals(0x01, cpu.getLeft().ge...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_150
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_RRC_mIYd() {\n final Z80State state = new Z80State();\n state.IY = 0x1234;\n state.F = 0x00;\n\n memory[0x1239] = (byte) 0x31;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xFD, 0xCB, 0x05, 0x0E);\n\n assertMemory(0x1239, 0x98);\n assertFlag...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_202
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JR_NZ_nn_false() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_Z;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0x20, 0x03);\n\n assertEquals(0x0002, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(state, cp...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_46
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_PUSH_IX() {\n final Z80State state = new Z80State();\n state.IX = 0x2233;\n state.SP = 0x1007;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0xDD, 0xE5);\n assertEquals(0x1005, cpu.getLeft().getRegister(Z80.REG_SP));\n assertMemory(0x1006, 0x22);\...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_193
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_PO_nn_false() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_PV;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xE2, 0x34, 0x12);\n\n assertEquals(0x0003, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(st...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_11
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_LD_C_D() {\n final Z80State state = new Z80State();\n state.A = 12;\n state.C = 15;\n final Pair<Z80, Integer> cpu = executeCommand(state, 0x4f);\n assertEquals(12, cpu.getLeft().getRegister(Z80.REG_A));\n assertEquals(12, cpu.getLeft().getRegister(Z80.REG...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }
32104835_185
{ "fields": [], "file": "zxpoly-z80/src/test/java/com/igormaznitsa/z80/Z80Test.java", "identifier": "Z80Test", "interfaces": "", "superclass": "extends AbstractZ80Test" }
{ "body": "@Test\n public void testCommand_JP_NC_nn_false() {\n final Z80State state = new Z80State();\n state.F = Z80.FLAG_C;\n\n final Pair<Z80, Integer> cpu = executeCommand(state, false, 0xD2, 0x34, 0x12);\n\n assertEquals(0x0003, cpu.getLeft().getRegister(Z80.REG_PC));\n assertFlagsNotChanged(sta...
{ "fields": [ { "declarator": "REG_A = 0", "modifier": "public static final", "original_string": "public static final int REG_A = 0;", "type": "int", "var_name": "REG_A" }, { "declarator": "REG_F = 1", "modifier": "public static final", "original_string": "p...
{ "body": "public int getRegister(final int reg) {\n return this.getRegister(reg, false);\n }", "class_method_signature": "Z80.getRegister(final int reg)", "constructor": false, "full_signature": "public int getRegister(final int reg)", "identifier": "getRegister", "invocations": [ "getRegister" ]...
{ "created": null, "fork": null, "fork_count": 5, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 32104835, "size": 23159, "stargazer_count": 44, "stars": null, "updates": null, "url": "https://github.com/raydac/zxpoly" }