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