Exemple #1
0
def test_adc_direct():
    check_object_code('99 34', ADCA, {0x34})
Exemple #2
0
def test_extended_direct():
    check_object_code('B9 12 34', ADCA, {0x1234})
Exemple #3
0
def test_adc_immediate():
    check_object_code('89 34', ADCA, 0x34)
Exemple #4
0
def test_exg_a_a():
    check_object_code('1E 88', EXG, (A, A))
Exemple #5
0
def test_adc_indexed():
    check_object_code('A9 84', ADCA, {0: X})
Exemple #6
0
def test_exg_a_b():
    check_object_code('1E 89', EXG, (A, B))
Exemple #7
0
def test_exg_x_y():
    check_object_code('1E 12', EXG, (X, Y))
Exemple #8
0
def test_tfr_x_y():
    check_object_code('1F 12', TFR, (X, Y))
Exemple #9
0
def test_tfr_a_a():
    check_object_code('1F 88', TFR, (A, A))
Exemple #10
0
def test_tfr_a_b():
    check_object_code('1F 89', TFR, (A, B))
Exemple #11
0
def test_abx_inherent():
    check_object_code("3A", ABX)
Exemple #12
0
def test_cmpr_a_a():
    check_object_code('10 37 88', CMPR, (A, A))
Exemple #13
0
def test_cmpr_x_y():
    check_object_code('10 37 12', CMPR, (X, Y))
Exemple #14
0
def test_cmpr_a_b():
    check_object_code('10 37 89', CMPR, (A, B))