示例#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))