Auto-generated by make_tests.py

Test 0000: adc a, #$34
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$46 X=$34 Y=$56 P=$00
Test 0001: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$12 ($02)=$34
   Expected output: A=$12 X=$01 Y=$02 P=$00 ($01)=$46 ($02)=$34
Test 0002: adc a, (x)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$34
   Expected output: A=$46 X=$01 Y=$56 P=$00 ($01)=$34
Test 0003: adc a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$34
   Expected output: A=$46 X=$34 Y=$05 P=$00 ($03)=$34 ($01)=$fe ($02)=$ff
Test 0004: adc a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$34
   Expected output: A=$46 X=$02 Y=$56 P=$00 ($102)=$34 ($01)=$02 ($02)=$01
Test 0005: adc a, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$34
   Expected output: A=$46 X=$34 Y=$56 P=$00 ($01)=$34
Test 0006: adc a, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$34
   Expected output: A=$46 X=$34 Y=$56 P=$20 ($102)=$34
Test 0007: adc a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$34
   Expected output: A=$46 X=$02 Y=$56 P=$00 ($01)=$34
Test 0008: adc a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$34
   Expected output: A=$46 X=$03 Y=$56 P=$20 ($102)=$34
Test 0009: adc a, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$34
   Expected output: A=$46 X=$34 Y=$56 P=$00 ($103)=$34
Test 000a: adc a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$00 ($04)=$34
   Expected output: A=$46 X=$05 Y=$56 P=$00 ($04)=$34
Test 000b: adc a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$00 ($104)=$34
   Expected output: A=$46 X=$34 Y=$01 P=$00 ($104)=$34
Test 000c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$12 ($02)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$46 ($02)=$34
Test 000d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$12 ($103)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$46 ($103)=$34
Test 000e: adc $01, #$34
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$46
Test 000f: adc $02, #$34
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$46
Test 0010: adc a, #$34
   Input: A=$12 X=$34 Y=$56 P=$df
   Expected output: A=$47 X=$34 Y=$56 P=$14
Test 0011: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$12 ($02)=$34
   Expected output: A=$12 X=$01 Y=$02 P=$14 ($01)=$47 ($02)=$34
Test 0012: adc a, (x)
   Input: A=$12 X=$01 Y=$56 P=$df ($01)=$34
   Expected output: A=$47 X=$01 Y=$56 P=$14 ($01)=$34
Test 0013: adc a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$34
   Expected output: A=$47 X=$34 Y=$05 P=$14 ($03)=$34 ($01)=$fe ($02)=$ff
Test 0014: adc a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$34
   Expected output: A=$47 X=$02 Y=$56 P=$14 ($102)=$34 ($01)=$02 ($02)=$01
Test 0015: adc a, $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$34
   Expected output: A=$47 X=$34 Y=$56 P=$14 ($01)=$34
Test 0016: adc a, $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$34
   Expected output: A=$47 X=$34 Y=$56 P=$34 ($102)=$34
Test 0017: adc a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$34
   Expected output: A=$47 X=$02 Y=$56 P=$14 ($01)=$34
Test 0018: adc a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$34
   Expected output: A=$47 X=$03 Y=$56 P=$34 ($102)=$34
Test 0019: adc a, $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$34
   Expected output: A=$47 X=$34 Y=$56 P=$14 ($103)=$34
Test 001a: adc a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$df ($04)=$34
   Expected output: A=$47 X=$05 Y=$56 P=$14 ($04)=$34
Test 001b: adc a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$df ($104)=$34
   Expected output: A=$47 X=$34 Y=$01 P=$14 ($104)=$34
Test 001c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12 ($02)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$14 ($01)=$47 ($02)=$34
Test 001d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12 ($103)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$34 ($102)=$47 ($103)=$34
Test 001e: adc $01, #$34
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$14 ($01)=$47
Test 001f: adc $02, #$34
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$34 ($102)=$47
Test 0020: adc a, #$34
   Input: A=$cb X=$34 Y=$56 P=$01
   Expected output: A=$00 X=$34 Y=$56 P=$0b
Test 0021: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$01 ($01)=$cb ($02)=$34
   Expected output: A=$12 X=$01 Y=$02 P=$0b ($01)=$00 ($02)=$34
Test 0022: adc a, (x)
   Input: A=$cb X=$01 Y=$56 P=$01 ($01)=$34
   Expected output: A=$00 X=$01 Y=$56 P=$0b ($01)=$34
Test 0023: adc a, [$01]+y
   Input: A=$cb X=$34 Y=$05 P=$01 ($01)=$fe ($02)=$ff ($03)=$34
   Expected output: A=$00 X=$34 Y=$05 P=$0b ($03)=$34 ($01)=$fe ($02)=$ff
Test 0024: adc a, [$ff+x]
   Input: A=$cb X=$02 Y=$56 P=$01 ($01)=$02 ($02)=$01 ($102)=$34
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($102)=$34 ($01)=$02 ($02)=$01
Test 0025: adc a, $01
   Input: A=$cb X=$34 Y=$56 P=$01 ($01)=$34
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($01)=$34
Test 0026: adc a, $02
   Input: A=$cb X=$34 Y=$56 P=$21 ($102)=$34
   Expected output: A=$00 X=$34 Y=$56 P=$2b ($102)=$34
Test 0027: adc a, $ff+x
   Input: A=$cb X=$02 Y=$56 P=$01 ($01)=$34
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($01)=$34
Test 0028: adc a, $ff+x
   Input: A=$cb X=$03 Y=$56 P=$21 ($102)=$34
   Expected output: A=$00 X=$03 Y=$56 P=$2b ($102)=$34
Test 0029: adc a, $103
   Input: A=$cb X=$34 Y=$56 P=$01 ($103)=$34
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($103)=$34
Test 002a: adc a, $ffff+x
   Input: A=$cb X=$05 Y=$56 P=$01 ($04)=$34
   Expected output: A=$00 X=$05 Y=$56 P=$0b ($04)=$34
Test 002b: adc a, $103+y
   Input: A=$cb X=$34 Y=$01 P=$01 ($104)=$34
   Expected output: A=$00 X=$34 Y=$01 P=$0b ($104)=$34
Test 002c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$cb ($02)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00 ($02)=$34
Test 002d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$cb ($103)=$34
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00 ($103)=$34
Test 002e: adc $01, #$34
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$cb
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00
Test 002f: adc $02, #$34
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$cb
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00
Test 0030: adc a, #$00
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 0031: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$02 ($01)=$00 ($02)=$00
Test 0032: adc a, (x)
   Input: A=$00 X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$01 Y=$56 P=$02 ($01)=$00
Test 0033: adc a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$00 X=$34 Y=$05 P=$02 ($03)=$00 ($01)=$fe ($02)=$ff
Test 0034: adc a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($102)=$00 ($01)=$02 ($02)=$01
Test 0035: adc a, $01
   Input: A=$00 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($01)=$00
Test 0036: adc a, $02
   Input: A=$00 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$22 ($102)=$00
Test 0037: adc a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$00
Test 0038: adc a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$03 Y=$56 P=$22 ($102)=$00
Test 0039: adc a, $103
   Input: A=$00 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($103)=$00
Test 003a: adc a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$00 X=$05 Y=$56 P=$02 ($04)=$00
Test 003b: adc a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$00 X=$34 Y=$01 P=$02 ($104)=$00
Test 003c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$00
Test 003d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00 ($103)=$00
Test 003e: adc $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 003f: adc $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 0040: adc a, #$90
   Input: A=$90 X=$34 Y=$56 P=$00
   Expected output: A=$20 X=$34 Y=$56 P=$41
Test 0041: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$90 ($02)=$90
   Expected output: A=$12 X=$01 Y=$02 P=$41 ($01)=$20 ($02)=$90
Test 0042: adc a, (x)
   Input: A=$90 X=$01 Y=$56 P=$00 ($01)=$90
   Expected output: A=$20 X=$01 Y=$56 P=$41 ($01)=$90
Test 0043: adc a, [$01]+y
   Input: A=$90 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$90
   Expected output: A=$20 X=$34 Y=$05 P=$41 ($03)=$90 ($01)=$fe ($02)=$ff
Test 0044: adc a, [$ff+x]
   Input: A=$90 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$90
   Expected output: A=$20 X=$02 Y=$56 P=$41 ($102)=$90 ($01)=$02 ($02)=$01
Test 0045: adc a, $01
   Input: A=$90 X=$34 Y=$56 P=$00 ($01)=$90
   Expected output: A=$20 X=$34 Y=$56 P=$41 ($01)=$90
Test 0046: adc a, $02
   Input: A=$90 X=$34 Y=$56 P=$20 ($102)=$90
   Expected output: A=$20 X=$34 Y=$56 P=$61 ($102)=$90
Test 0047: adc a, $ff+x
   Input: A=$90 X=$02 Y=$56 P=$00 ($01)=$90
   Expected output: A=$20 X=$02 Y=$56 P=$41 ($01)=$90
Test 0048: adc a, $ff+x
   Input: A=$90 X=$03 Y=$56 P=$20 ($102)=$90
   Expected output: A=$20 X=$03 Y=$56 P=$61 ($102)=$90
Test 0049: adc a, $103
   Input: A=$90 X=$34 Y=$56 P=$00 ($103)=$90
   Expected output: A=$20 X=$34 Y=$56 P=$41 ($103)=$90
Test 004a: adc a, $ffff+x
   Input: A=$90 X=$05 Y=$56 P=$00 ($04)=$90
   Expected output: A=$20 X=$05 Y=$56 P=$41 ($04)=$90
Test 004b: adc a, $103+y
   Input: A=$90 X=$34 Y=$01 P=$00 ($104)=$90
   Expected output: A=$20 X=$34 Y=$01 P=$41 ($104)=$90
Test 004c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$90 ($02)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$41 ($01)=$20 ($02)=$90
Test 004d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$90 ($103)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$61 ($102)=$20 ($103)=$90
Test 004e: adc $01, #$90
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$41 ($01)=$20
Test 004f: adc $02, #$90
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$61 ($102)=$20
Test 0050: adc a, #$50
   Input: A=$50 X=$34 Y=$56 P=$00
   Expected output: A=$a0 X=$34 Y=$56 P=$c0
Test 0051: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$50 ($02)=$50
   Expected output: A=$12 X=$01 Y=$02 P=$c0 ($01)=$a0 ($02)=$50
Test 0052: adc a, (x)
   Input: A=$50 X=$01 Y=$56 P=$00 ($01)=$50
   Expected output: A=$a0 X=$01 Y=$56 P=$c0 ($01)=$50
Test 0053: adc a, [$01]+y
   Input: A=$50 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$50
   Expected output: A=$a0 X=$34 Y=$05 P=$c0 ($03)=$50 ($01)=$fe ($02)=$ff
Test 0054: adc a, [$ff+x]
   Input: A=$50 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$50
   Expected output: A=$a0 X=$02 Y=$56 P=$c0 ($102)=$50 ($01)=$02 ($02)=$01
Test 0055: adc a, $01
   Input: A=$50 X=$34 Y=$56 P=$00 ($01)=$50
   Expected output: A=$a0 X=$34 Y=$56 P=$c0 ($01)=$50
Test 0056: adc a, $02
   Input: A=$50 X=$34 Y=$56 P=$20 ($102)=$50
   Expected output: A=$a0 X=$34 Y=$56 P=$e0 ($102)=$50
Test 0057: adc a, $ff+x
   Input: A=$50 X=$02 Y=$56 P=$00 ($01)=$50
   Expected output: A=$a0 X=$02 Y=$56 P=$c0 ($01)=$50
Test 0058: adc a, $ff+x
   Input: A=$50 X=$03 Y=$56 P=$20 ($102)=$50
   Expected output: A=$a0 X=$03 Y=$56 P=$e0 ($102)=$50
Test 0059: adc a, $103
   Input: A=$50 X=$34 Y=$56 P=$00 ($103)=$50
   Expected output: A=$a0 X=$34 Y=$56 P=$c0 ($103)=$50
Test 005a: adc a, $ffff+x
   Input: A=$50 X=$05 Y=$56 P=$00 ($04)=$50
   Expected output: A=$a0 X=$05 Y=$56 P=$c0 ($04)=$50
Test 005b: adc a, $103+y
   Input: A=$50 X=$34 Y=$01 P=$00 ($104)=$50
   Expected output: A=$a0 X=$34 Y=$01 P=$c0 ($104)=$50
Test 005c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$50 ($02)=$50
   Expected output: A=$12 X=$34 Y=$56 P=$c0 ($01)=$a0 ($02)=$50
Test 005d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$50 ($103)=$50
   Expected output: A=$12 X=$34 Y=$56 P=$e0 ($102)=$a0 ($103)=$50
Test 005e: adc $01, #$50
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$50
   Expected output: A=$12 X=$34 Y=$56 P=$c0 ($01)=$a0
Test 005f: adc $02, #$50
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$50
   Expected output: A=$12 X=$34 Y=$56 P=$e0 ($102)=$a0
Test 0060: adc a, #$7f
   Input: A=$00 X=$34 Y=$56 P=$01
   Expected output: A=$80 X=$34 Y=$56 P=$c8
Test 0061: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$01 ($01)=$00 ($02)=$7f
   Expected output: A=$12 X=$01 Y=$02 P=$c8 ($01)=$80 ($02)=$7f
Test 0062: adc a, (x)
   Input: A=$00 X=$01 Y=$56 P=$01 ($01)=$7f
   Expected output: A=$80 X=$01 Y=$56 P=$c8 ($01)=$7f
Test 0063: adc a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$01 ($01)=$fe ($02)=$ff ($03)=$7f
   Expected output: A=$80 X=$34 Y=$05 P=$c8 ($03)=$7f ($01)=$fe ($02)=$ff
Test 0064: adc a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$01 ($01)=$02 ($02)=$01 ($102)=$7f
   Expected output: A=$80 X=$02 Y=$56 P=$c8 ($102)=$7f ($01)=$02 ($02)=$01
Test 0065: adc a, $01
   Input: A=$00 X=$34 Y=$56 P=$01 ($01)=$7f
   Expected output: A=$80 X=$34 Y=$56 P=$c8 ($01)=$7f
Test 0066: adc a, $02
   Input: A=$00 X=$34 Y=$56 P=$21 ($102)=$7f
   Expected output: A=$80 X=$34 Y=$56 P=$e8 ($102)=$7f
Test 0067: adc a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$01 ($01)=$7f
   Expected output: A=$80 X=$02 Y=$56 P=$c8 ($01)=$7f
Test 0068: adc a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$21 ($102)=$7f
   Expected output: A=$80 X=$03 Y=$56 P=$e8 ($102)=$7f
Test 0069: adc a, $103
   Input: A=$00 X=$34 Y=$56 P=$01 ($103)=$7f
   Expected output: A=$80 X=$34 Y=$56 P=$c8 ($103)=$7f
Test 006a: adc a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$01 ($04)=$7f
   Expected output: A=$80 X=$05 Y=$56 P=$c8 ($04)=$7f
Test 006b: adc a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$01 ($104)=$7f
   Expected output: A=$80 X=$34 Y=$01 P=$c8 ($104)=$7f
Test 006c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$00 ($02)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$c8 ($01)=$80 ($02)=$7f
Test 006d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$00 ($103)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$e8 ($102)=$80 ($103)=$7f
Test 006e: adc $01, #$7f
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$c8 ($01)=$80
Test 006f: adc $02, #$7f
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$e8 ($102)=$80
Test 0070: adc a, #$ff
   Input: A=$00 X=$34 Y=$56 P=$01
   Expected output: A=$00 X=$34 Y=$56 P=$0b
Test 0071: adc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$01 ($01)=$00 ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$0b ($01)=$00 ($02)=$ff
Test 0072: adc a, (x)
   Input: A=$00 X=$01 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$00 X=$01 Y=$56 P=$0b ($01)=$ff
Test 0073: adc a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$01 ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$00 X=$34 Y=$05 P=$0b ($03)=$ff ($01)=$fe ($02)=$ff
Test 0074: adc a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$01 ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($102)=$ff ($01)=$02 ($02)=$01
Test 0075: adc a, $01
   Input: A=$00 X=$34 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($01)=$ff
Test 0076: adc a, $02
   Input: A=$00 X=$34 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$2b ($102)=$ff
Test 0077: adc a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($01)=$ff
Test 0078: adc a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$00 X=$03 Y=$56 P=$2b ($102)=$ff
Test 0079: adc a, $103
   Input: A=$00 X=$34 Y=$56 P=$01 ($103)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($103)=$ff
Test 007a: adc a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$01 ($04)=$ff
   Expected output: A=$00 X=$05 Y=$56 P=$0b ($04)=$ff
Test 007b: adc a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$01 ($104)=$ff
   Expected output: A=$00 X=$34 Y=$01 P=$0b ($104)=$ff
Test 007c: adc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$00 ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00 ($02)=$ff
Test 007d: adc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00 ($103)=$ff
Test 007e: adc $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00
Test 007f: adc $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00
Test 0080: addw ya, $01
   Input: A=$12 X=$34 Y=$34 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$11 X=$34 Y=$35 P=$00 ($01)=$ff ($02)=$00
Test 0081: addw ya, $FF
   Input: A=$12 X=$34 Y=$34 P=$20 ($1ff)=$ff ($100)=$00
   Expected output: A=$11 X=$34 Y=$35 P=$20 ($1ff)=$ff ($100)=$00
Test 0082: addw ya, $01
   Input: A=$12 X=$34 Y=$34 P=$df ($01)=$ff ($02)=$00
   Expected output: A=$11 X=$34 Y=$35 P=$14 ($01)=$ff ($02)=$00
Test 0083: addw ya, $FF
   Input: A=$12 X=$34 Y=$34 P=$ff ($1ff)=$ff ($100)=$00
   Expected output: A=$11 X=$34 Y=$35 P=$34 ($1ff)=$ff ($100)=$00
Test 0084: addw ya, $01
   Input: A=$00 X=$34 Y=$00 P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$01 X=$34 Y=$00 P=$00 ($01)=$01 ($02)=$00
Test 0085: addw ya, $FF
   Input: A=$00 X=$34 Y=$00 P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$01 X=$34 Y=$00 P=$20 ($1ff)=$01 ($100)=$00
Test 0086: addw ya, $01
   Input: A=$00 X=$34 Y=$00 P=$00 ($01)=$00 ($02)=$01
   Expected output: A=$00 X=$34 Y=$01 P=$00 ($01)=$00 ($02)=$01
Test 0087: addw ya, $FF
   Input: A=$00 X=$34 Y=$00 P=$20 ($1ff)=$00 ($100)=$01
   Expected output: A=$00 X=$34 Y=$01 P=$20 ($1ff)=$00 ($100)=$01
Test 0088: addw ya, $01
   Input: A=$ff X=$34 Y=$34 P=$08 ($01)=$ff ($02)=$00
   Expected output: A=$fe X=$34 Y=$35 P=$00 ($01)=$ff ($02)=$00
Test 0089: addw ya, $FF
   Input: A=$ff X=$34 Y=$34 P=$28 ($1ff)=$ff ($100)=$00
   Expected output: A=$fe X=$34 Y=$35 P=$20 ($1ff)=$ff ($100)=$00
Test 008a: addw ya, $01
   Input: A=$12 X=$34 Y=$34 P=$00 ($01)=$00 ($02)=$0c
   Expected output: A=$12 X=$34 Y=$40 P=$08 ($01)=$00 ($02)=$0c
Test 008b: addw ya, $FF
   Input: A=$12 X=$34 Y=$34 P=$20 ($1ff)=$00 ($100)=$0c
   Expected output: A=$12 X=$34 Y=$40 P=$28 ($1ff)=$00 ($100)=$0c
Test 008c: addw ya, $01
   Input: A=$ff X=$34 Y=$7f P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$00 X=$34 Y=$80 P=$c8 ($01)=$01 ($02)=$00
Test 008d: addw ya, $FF
   Input: A=$ff X=$34 Y=$7f P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$00 X=$34 Y=$80 P=$e8 ($1ff)=$01 ($100)=$00
Test 008e: addw ya, $01
   Input: A=$ff X=$34 Y=$ff P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$00 X=$34 Y=$00 P=$0b ($01)=$01 ($02)=$00
Test 008f: addw ya, $FF
   Input: A=$ff X=$34 Y=$ff P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$00 X=$34 Y=$00 P=$2b ($1ff)=$01 ($100)=$00
Test 0090: addw ya, $01
   Input: A=$00 X=$34 Y=$80 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$ff X=$34 Y=$7f P=$41 ($01)=$ff ($02)=$ff
Test 0091: addw ya, $FF
   Input: A=$00 X=$34 Y=$80 P=$20 ($1ff)=$ff ($100)=$ff
   Expected output: A=$ff X=$34 Y=$7f P=$61 ($1ff)=$ff ($100)=$ff
Test 0092: and a, #$ff
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80
Test 0093: and (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$80 ($01)=$ff ($02)=$ff
Test 0094: and a, (x)
   Input: A=$ff X=$01 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$ff X=$01 Y=$56 P=$80 ($01)=$ff
Test 0095: and a, [$01]+y
   Input: A=$ff X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$ff X=$34 Y=$05 P=$80 ($03)=$ff ($01)=$fe ($02)=$ff
Test 0096: and a, [$ff+x]
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($102)=$ff ($01)=$02 ($02)=$01
Test 0097: and a, $01
   Input: A=$ff X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($01)=$ff
Test 0098: and a, $02
   Input: A=$ff X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$ff X=$34 Y=$56 P=$a0 ($102)=$ff
Test 0099: and a, $ff+x
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($01)=$ff
Test 009a: and a, $ff+x
   Input: A=$ff X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$ff X=$03 Y=$56 P=$a0 ($102)=$ff
Test 009b: and a, $103
   Input: A=$ff X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($103)=$ff
Test 009c: and a, $ffff+x
   Input: A=$ff X=$05 Y=$56 P=$00 ($04)=$ff
   Expected output: A=$ff X=$05 Y=$56 P=$80 ($04)=$ff
Test 009d: and a, $103+y
   Input: A=$ff X=$34 Y=$01 P=$00 ($104)=$ff
   Expected output: A=$ff X=$34 Y=$01 P=$80 ($104)=$ff
Test 009e: and $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff ($02)=$ff
Test 009f: and $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff ($103)=$ff
Test 00a0: and $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff
Test 00a1: and $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff
Test 00a2: and a, #$00
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 00a3: and (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$02 ($01)=$00 ($02)=$00
Test 00a4: and a, (x)
   Input: A=$ff X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$01 Y=$56 P=$02 ($01)=$00
Test 00a5: and a, [$01]+y
   Input: A=$ff X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$00 X=$34 Y=$05 P=$02 ($03)=$00 ($01)=$fe ($02)=$ff
Test 00a6: and a, [$ff+x]
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($102)=$00 ($01)=$02 ($02)=$01
Test 00a7: and a, $01
   Input: A=$ff X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($01)=$00
Test 00a8: and a, $02
   Input: A=$ff X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$22 ($102)=$00
Test 00a9: and a, $ff+x
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$00
Test 00aa: and a, $ff+x
   Input: A=$ff X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$03 Y=$56 P=$22 ($102)=$00
Test 00ab: and a, $103
   Input: A=$ff X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($103)=$00
Test 00ac: and a, $ffff+x
   Input: A=$ff X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$00 X=$05 Y=$56 P=$02 ($04)=$00
Test 00ad: and a, $103+y
   Input: A=$ff X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$00 X=$34 Y=$01 P=$02 ($104)=$00
Test 00ae: and $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$00
Test 00af: and $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00 ($103)=$00
Test 00b0: and $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 00b1: and $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 00b2: and a, #$ff
   Input: A=$00 X=$34 Y=$56 P=$df
   Expected output: A=$00 X=$34 Y=$56 P=$5f
Test 00b3: and (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$00 ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$5f ($01)=$00 ($02)=$ff
Test 00b4: and a, (x)
   Input: A=$00 X=$01 Y=$56 P=$df ($01)=$ff
   Expected output: A=$00 X=$01 Y=$56 P=$5f ($01)=$ff
Test 00b5: and a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$00 X=$34 Y=$05 P=$5f ($03)=$ff ($01)=$fe ($02)=$ff
Test 00b6: and a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$5f ($102)=$ff ($01)=$02 ($02)=$01
Test 00b7: and a, $01
   Input: A=$00 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$5f ($01)=$ff
Test 00b8: and a, $02
   Input: A=$00 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$7f ($102)=$ff
Test 00b9: and a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$df ($01)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$5f ($01)=$ff
Test 00ba: and a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$00 X=$03 Y=$56 P=$7f ($102)=$ff
Test 00bb: and a, $103
   Input: A=$00 X=$34 Y=$56 P=$df ($103)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$5f ($103)=$ff
Test 00bc: and a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$df ($04)=$ff
   Expected output: A=$00 X=$05 Y=$56 P=$5f ($04)=$ff
Test 00bd: and a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$df ($104)=$ff
   Expected output: A=$00 X=$34 Y=$01 P=$5f ($104)=$ff
Test 00be: and $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00 ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$5f ($01)=$00 ($02)=$ff
Test 00bf: and $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$7f ($102)=$00 ($103)=$ff
Test 00c0: and $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$5f ($01)=$00
Test 00c1: and $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$7f ($102)=$00
Test 00c2: and a, #$93
   Input: A=$c5 X=$34 Y=$56 P=$df
   Expected output: A=$81 X=$34 Y=$56 P=$dd
Test 00c3: and (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$c5 ($02)=$93
   Expected output: A=$12 X=$01 Y=$02 P=$dd ($01)=$81 ($02)=$93
Test 00c4: and a, (x)
   Input: A=$c5 X=$01 Y=$56 P=$df ($01)=$93
   Expected output: A=$81 X=$01 Y=$56 P=$dd ($01)=$93
Test 00c5: and a, [$01]+y
   Input: A=$c5 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$93
   Expected output: A=$81 X=$34 Y=$05 P=$dd ($03)=$93 ($01)=$fe ($02)=$ff
Test 00c6: and a, [$ff+x]
   Input: A=$c5 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$93
   Expected output: A=$81 X=$02 Y=$56 P=$dd ($102)=$93 ($01)=$02 ($02)=$01
Test 00c7: and a, $01
   Input: A=$c5 X=$34 Y=$56 P=$df ($01)=$93
   Expected output: A=$81 X=$34 Y=$56 P=$dd ($01)=$93
Test 00c8: and a, $02
   Input: A=$c5 X=$34 Y=$56 P=$ff ($102)=$93
   Expected output: A=$81 X=$34 Y=$56 P=$fd ($102)=$93
Test 00c9: and a, $ff+x
   Input: A=$c5 X=$02 Y=$56 P=$df ($01)=$93
   Expected output: A=$81 X=$02 Y=$56 P=$dd ($01)=$93
Test 00ca: and a, $ff+x
   Input: A=$c5 X=$03 Y=$56 P=$ff ($102)=$93
   Expected output: A=$81 X=$03 Y=$56 P=$fd ($102)=$93
Test 00cb: and a, $103
   Input: A=$c5 X=$34 Y=$56 P=$df ($103)=$93
   Expected output: A=$81 X=$34 Y=$56 P=$dd ($103)=$93
Test 00cc: and a, $ffff+x
   Input: A=$c5 X=$05 Y=$56 P=$df ($04)=$93
   Expected output: A=$81 X=$05 Y=$56 P=$dd ($04)=$93
Test 00cd: and a, $103+y
   Input: A=$c5 X=$34 Y=$01 P=$df ($104)=$93
   Expected output: A=$81 X=$34 Y=$01 P=$dd ($104)=$93
Test 00ce: and $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$c5 ($02)=$93
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$81 ($02)=$93
Test 00cf: and $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$c5 ($103)=$93
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$81 ($103)=$93
Test 00d0: and $01, #$93
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$c5
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$81
Test 00d1: and $02, #$93
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$c5
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$81
Test 00d2: and1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 00d3: and1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
Test 00d4: and1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
Test 00d5: and1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
Test 00d6: and1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$fb
Test 00d7: and1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$00
Test 00d8: asl a
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$fe X=$34 Y=$56 P=$81
Test 00d9: asl $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$fe
Test 00da: asl $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$fe
Test 00db: asl $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$81 ($01)=$fe
Test 00dc: asl $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$a1 ($102)=$fe
Test 00dd: asl $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($103)=$fe
Test 00de: asl a
   Input: A=$80 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$03
Test 00df: asl $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$00
Test 00e0: asl $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$00
Test 00e1: asl $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($01)=$00
Test 00e2: asl $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$03 Y=$56 P=$23 ($102)=$00
Test 00e3: asl $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($103)=$00
Test 00e4: asl a
   Input: A=$03 X=$34 Y=$56 P=$df
   Expected output: A=$06 X=$34 Y=$56 P=$5c
Test 00e5: asl $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($01)=$06
Test 00e6: asl $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$7c ($102)=$06
Test 00e7: asl $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$03
   Expected output: A=$12 X=$02 Y=$56 P=$5c ($01)=$06
Test 00e8: asl $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$03
   Expected output: A=$12 X=$03 Y=$56 P=$7c ($102)=$06
Test 00e9: asl $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($103)=$06
Test 00ea: bbc $01.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Additional initialization or checks are performed - see assembly
Test 00eb: bbc $01.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 00ec: bbc $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Additional initialization or checks are performed - see assembly
Test 00ed: bbc $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Additional initialization or checks are performed - see assembly
Test 00ee: bbc $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 00ef: bbc $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 00f0: bbc $02.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Additional initialization or checks are performed - see assembly
Test 00f1: bbc $02.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Additional initialization or checks are performed - see assembly
Test 00f2: bbc $02.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Additional initialization or checks are performed - see assembly
Test 00f3: bbc $01.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Additional initialization or checks are performed - see assembly
Test 00f4: bbc $01.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 00f5: bbc $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Additional initialization or checks are performed - see assembly
Test 00f6: bbc $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Additional initialization or checks are performed - see assembly
Test 00f7: bbc $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 00f8: bbc $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 00f9: bbc $02.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Additional initialization or checks are performed - see assembly
Test 00fa: bbc $02.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Additional initialization or checks are performed - see assembly
Test 00fb: bbc $02.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Additional initialization or checks are performed - see assembly
Test 00fc: bbc $01.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Additional initialization or checks are performed - see assembly
Test 00fd: bbc $01.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 00fe: bbc $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Additional initialization or checks are performed - see assembly
Test 00ff: bbc $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Additional initialization or checks are performed - see assembly
Test 0100: bbc $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0101: bbc $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0102: bbc $02.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Additional initialization or checks are performed - see assembly
Test 0103: bbc $02.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Additional initialization or checks are performed - see assembly
Test 0104: bbc $02.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Additional initialization or checks are performed - see assembly
Test 0105: bbc $01.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Additional initialization or checks are performed - see assembly
Test 0106: bbc $01.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0107: bbc $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Additional initialization or checks are performed - see assembly
Test 0108: bbc $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Additional initialization or checks are performed - see assembly
Test 0109: bbc $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 010a: bbc $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 010b: bbc $02.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Additional initialization or checks are performed - see assembly
Test 010c: bbc $02.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Additional initialization or checks are performed - see assembly
Test 010d: bbc $02.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Additional initialization or checks are performed - see assembly
Test 010e: bbc $01.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Additional initialization or checks are performed - see assembly
Test 010f: bbc $01.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0110: bbc $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Additional initialization or checks are performed - see assembly
Test 0111: bbc $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Additional initialization or checks are performed - see assembly
Test 0112: bbc $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0113: bbc $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0114: bbc $02.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Additional initialization or checks are performed - see assembly
Test 0115: bbc $02.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Additional initialization or checks are performed - see assembly
Test 0116: bbc $02.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Additional initialization or checks are performed - see assembly
Test 0117: bbc $01.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Additional initialization or checks are performed - see assembly
Test 0118: bbc $01.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0119: bbc $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Additional initialization or checks are performed - see assembly
Test 011a: bbc $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Additional initialization or checks are performed - see assembly
Test 011b: bbc $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 011c: bbc $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 011d: bbc $02.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Additional initialization or checks are performed - see assembly
Test 011e: bbc $02.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Additional initialization or checks are performed - see assembly
Test 011f: bbc $02.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Additional initialization or checks are performed - see assembly
Test 0120: bbc $01.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Additional initialization or checks are performed - see assembly
Test 0121: bbc $01.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0122: bbc $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Additional initialization or checks are performed - see assembly
Test 0123: bbc $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Additional initialization or checks are performed - see assembly
Test 0124: bbc $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0125: bbc $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0126: bbc $02.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Additional initialization or checks are performed - see assembly
Test 0127: bbc $02.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Additional initialization or checks are performed - see assembly
Test 0128: bbc $02.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Additional initialization or checks are performed - see assembly
Test 0129: bbc $01.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 012a: bbc $01.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 012b: bbc $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Additional initialization or checks are performed - see assembly
Test 012c: bbc $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Additional initialization or checks are performed - see assembly
Test 012d: bbc $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 012e: bbc $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 012f: bbc $02.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 0130: bbc $02.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Additional initialization or checks are performed - see assembly
Test 0131: bbc $02.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Additional initialization or checks are performed - see assembly
Test 0132: bbs $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Additional initialization or checks are performed - see assembly
Test 0133: bbs $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Additional initialization or checks are performed - see assembly
Test 0134: bbs $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0135: bbs $01.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0136: bbs $01.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Additional initialization or checks are performed - see assembly
Test 0137: bbs $01.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0138: bbs $02.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Additional initialization or checks are performed - see assembly
Test 0139: bbs $02.0, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Additional initialization or checks are performed - see assembly
Test 013a: bbs $02.0, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Additional initialization or checks are performed - see assembly
Test 013b: bbs $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Additional initialization or checks are performed - see assembly
Test 013c: bbs $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
   Additional initialization or checks are performed - see assembly
Test 013d: bbs $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 013e: bbs $01.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 013f: bbs $01.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
   Additional initialization or checks are performed - see assembly
Test 0140: bbs $01.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0141: bbs $02.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Additional initialization or checks are performed - see assembly
Test 0142: bbs $02.1, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
   Additional initialization or checks are performed - see assembly
Test 0143: bbs $02.1, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
   Additional initialization or checks are performed - see assembly
Test 0144: bbs $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Additional initialization or checks are performed - see assembly
Test 0145: bbs $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
   Additional initialization or checks are performed - see assembly
Test 0146: bbs $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0147: bbs $01.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0148: bbs $01.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
   Additional initialization or checks are performed - see assembly
Test 0149: bbs $01.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 014a: bbs $02.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Additional initialization or checks are performed - see assembly
Test 014b: bbs $02.2, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
   Additional initialization or checks are performed - see assembly
Test 014c: bbs $02.2, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
   Additional initialization or checks are performed - see assembly
Test 014d: bbs $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Additional initialization or checks are performed - see assembly
Test 014e: bbs $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
   Additional initialization or checks are performed - see assembly
Test 014f: bbs $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0150: bbs $01.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0151: bbs $01.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
   Additional initialization or checks are performed - see assembly
Test 0152: bbs $01.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0153: bbs $02.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Additional initialization or checks are performed - see assembly
Test 0154: bbs $02.3, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
   Additional initialization or checks are performed - see assembly
Test 0155: bbs $02.3, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
   Additional initialization or checks are performed - see assembly
Test 0156: bbs $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Additional initialization or checks are performed - see assembly
Test 0157: bbs $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
   Additional initialization or checks are performed - see assembly
Test 0158: bbs $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0159: bbs $01.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 015a: bbs $01.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
   Additional initialization or checks are performed - see assembly
Test 015b: bbs $01.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 015c: bbs $02.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Additional initialization or checks are performed - see assembly
Test 015d: bbs $02.4, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
   Additional initialization or checks are performed - see assembly
Test 015e: bbs $02.4, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
   Additional initialization or checks are performed - see assembly
Test 015f: bbs $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Additional initialization or checks are performed - see assembly
Test 0160: bbs $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
   Additional initialization or checks are performed - see assembly
Test 0161: bbs $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0162: bbs $01.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0163: bbs $01.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
   Additional initialization or checks are performed - see assembly
Test 0164: bbs $01.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0165: bbs $02.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Additional initialization or checks are performed - see assembly
Test 0166: bbs $02.5, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
   Additional initialization or checks are performed - see assembly
Test 0167: bbs $02.5, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
   Additional initialization or checks are performed - see assembly
Test 0168: bbs $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Additional initialization or checks are performed - see assembly
Test 0169: bbs $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
   Additional initialization or checks are performed - see assembly
Test 016a: bbs $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 016b: bbs $01.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 016c: bbs $01.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
   Additional initialization or checks are performed - see assembly
Test 016d: bbs $01.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 016e: bbs $02.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Additional initialization or checks are performed - see assembly
Test 016f: bbs $02.6, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
   Additional initialization or checks are performed - see assembly
Test 0170: bbs $02.6, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
   Additional initialization or checks are performed - see assembly
Test 0171: bbs $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 0172: bbs $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 0173: bbs $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0174: bbs $01.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 0175: bbs $01.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
   Additional initialization or checks are performed - see assembly
Test 0176: bbs $01.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 0177: bbs $02.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 0178: bbs $02.7, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 0179: bbs $02.7, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
   Additional initialization or checks are performed - see assembly
Test 017a: bra .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 017b: bra .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 017c: bra .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 017d: bra .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 017e: bcs .ok
   Input: A=$12 X=$34 Y=$56 P=$01
   Expected output: A=$12 X=$34 Y=$56 P=$01
   Additional initialization or checks are performed - see assembly
Test 017f: bcs .ok
   Input: A=$12 X=$34 Y=$56 P=$01
   Expected output: A=$12 X=$34 Y=$56 P=$01
   Additional initialization or checks are performed - see assembly
Test 0180: bcc .not_ok
   Input: A=$12 X=$34 Y=$56 P=$01
   Expected output: A=$12 X=$34 Y=$56 P=$01
   Additional initialization or checks are performed - see assembly
Test 0181: bcs .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0182: bcc .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0183: bcc .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0184: bcs .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0185: bcs .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0186: bcc .not_ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0187: bcs .not_ok
   Input: A=$12 X=$34 Y=$56 P=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$fe
   Additional initialization or checks are performed - see assembly
Test 0188: bcc .ok
   Input: A=$12 X=$34 Y=$56 P=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$fe
   Additional initialization or checks are performed - see assembly
Test 0189: bcc .ok
   Input: A=$12 X=$34 Y=$56 P=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$fe
   Additional initialization or checks are performed - see assembly
Test 018a: beq .ok
   Input: A=$12 X=$34 Y=$56 P=$02
   Expected output: A=$12 X=$34 Y=$56 P=$02
   Additional initialization or checks are performed - see assembly
Test 018b: beq .ok
   Input: A=$12 X=$34 Y=$56 P=$02
   Expected output: A=$12 X=$34 Y=$56 P=$02
   Additional initialization or checks are performed - see assembly
Test 018c: bne .not_ok
   Input: A=$12 X=$34 Y=$56 P=$02
   Expected output: A=$12 X=$34 Y=$56 P=$02
   Additional initialization or checks are performed - see assembly
Test 018d: beq .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 018e: bne .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 018f: bne .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0190: beq .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0191: beq .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0192: bne .not_ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 0193: beq .not_ok
   Input: A=$12 X=$34 Y=$56 P=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$fd
   Additional initialization or checks are performed - see assembly
Test 0194: bne .ok
   Input: A=$12 X=$34 Y=$56 P=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$fd
   Additional initialization or checks are performed - see assembly
Test 0195: bne .ok
   Input: A=$12 X=$34 Y=$56 P=$fd
   Expected output: A=$12 X=$34 Y=$56 P=$fd
   Additional initialization or checks are performed - see assembly
Test 0196: bmi .ok
   Input: A=$12 X=$34 Y=$56 P=$80
   Expected output: A=$12 X=$34 Y=$56 P=$80
   Additional initialization or checks are performed - see assembly
Test 0197: bmi .ok
   Input: A=$12 X=$34 Y=$56 P=$80
   Expected output: A=$12 X=$34 Y=$56 P=$80
   Additional initialization or checks are performed - see assembly
Test 0198: bpl .not_ok
   Input: A=$12 X=$34 Y=$56 P=$80
   Expected output: A=$12 X=$34 Y=$56 P=$80
   Additional initialization or checks are performed - see assembly
Test 0199: bmi .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 019a: bpl .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 019b: bpl .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 019c: bmi .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 019d: bmi .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 019e: bpl .not_ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 019f: bmi .not_ok
   Input: A=$12 X=$34 Y=$56 P=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$7f
   Additional initialization or checks are performed - see assembly
Test 01a0: bpl .ok
   Input: A=$12 X=$34 Y=$56 P=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$7f
   Additional initialization or checks are performed - see assembly
Test 01a1: bpl .ok
   Input: A=$12 X=$34 Y=$56 P=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$7f
   Additional initialization or checks are performed - see assembly
Test 01a2: bvs .ok
   Input: A=$12 X=$34 Y=$56 P=$40
   Expected output: A=$12 X=$34 Y=$56 P=$40
   Additional initialization or checks are performed - see assembly
Test 01a3: bvs .ok
   Input: A=$12 X=$34 Y=$56 P=$40
   Expected output: A=$12 X=$34 Y=$56 P=$40
   Additional initialization or checks are performed - see assembly
Test 01a4: bvc .not_ok
   Input: A=$12 X=$34 Y=$56 P=$40
   Expected output: A=$12 X=$34 Y=$56 P=$40
   Additional initialization or checks are performed - see assembly
Test 01a5: bvs .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01a6: bvc .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01a7: bvc .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01a8: bvs .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01a9: bvs .ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01aa: bvc .not_ok
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01ab: bvs .not_ok
   Input: A=$12 X=$34 Y=$56 P=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$bf
   Additional initialization or checks are performed - see assembly
Test 01ac: bvc .ok
   Input: A=$12 X=$34 Y=$56 P=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$bf
   Additional initialization or checks are performed - see assembly
Test 01ad: bvc .ok
   Input: A=$12 X=$34 Y=$56 P=$bf
   Expected output: A=$12 X=$34 Y=$56 P=$bf
   Additional initialization or checks are performed - see assembly
Test 01ae: brk
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$10 SP=ec ($1ed)=$00
   Additional initialization or checks are performed - see assembly
Test 01af: brk
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fb SP=ec ($1ed)=$ff
   Additional initialization or checks are performed - see assembly
Test 01b0: call .call_target
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01b1: call .call_target
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01b2: pcall $FF
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01b3: pcall $FF
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01b4: tcall 0
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01b5: tcall 0
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01b6: tcall 1
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01b7: tcall 1
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01b8: tcall 2
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01b9: tcall 2
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01ba: tcall 3
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01bb: tcall 3
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01bc: tcall 4
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01bd: tcall 4
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01be: tcall 5
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01bf: tcall 5
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01c0: tcall 6
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01c1: tcall 6
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01c2: tcall 7
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01c3: tcall 7
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01c4: tcall 8
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01c5: tcall 8
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01c6: tcall 9
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01c7: tcall 9
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01c8: tcall 10
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01c9: tcall 10
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01ca: tcall 11
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01cb: tcall 11
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01cc: tcall 12
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01cd: tcall 12
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01ce: tcall 13
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01cf: tcall 13
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01d0: tcall 14
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01d1: tcall 14
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01d2: tcall 15
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 01d3: tcall 15
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
   Additional initialization or checks are performed - see assembly
Test 01d4: cbne $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$13
   Additional initialization or checks are performed - see assembly
Test 01d5: cbne $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$13
   Additional initialization or checks are performed - see assembly
Test 01d6: cbne $01, .not_ok
   Input: A=$80 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$00 ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 01d7: cbne $ff+x, .ok
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 01d8: cbne $ff+x, .ok
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 01d9: cbne $ff+x, .not_ok
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$ff X=$02 Y=$56 P=$00 ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 01da: cbne $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$13
   Additional initialization or checks are performed - see assembly
Test 01db: cbne $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$13
   Additional initialization or checks are performed - see assembly
Test 01dc: cbne $02, .not_ok
   Input: A=$80 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$20 ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 01dd: cbne $ff+x, .ok
   Input: A=$ff X=$04 Y=$56 P=$20 ($103)=$00
   Expected output: A=$ff X=$04 Y=$56 P=$20 ($103)=$00
   Additional initialization or checks are performed - see assembly
Test 01de: cbne $ff+x, .ok
   Input: A=$ff X=$04 Y=$56 P=$20 ($103)=$00
   Expected output: A=$ff X=$04 Y=$56 P=$20 ($103)=$00
   Additional initialization or checks are performed - see assembly
Test 01df: cbne $ff+x, .not_ok
   Input: A=$ff X=$04 Y=$56 P=$20 ($103)=$ff
   Expected output: A=$ff X=$04 Y=$56 P=$20 ($103)=$ff
   Additional initialization or checks are performed - see assembly
Test 01e0: cbne $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Additional initialization or checks are performed - see assembly
Test 01e1: cbne $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Additional initialization or checks are performed - see assembly
Test 01e2: cbne $01, .not_ok
   Input: A=$80 X=$34 Y=$56 P=$df ($01)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$df ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 01e3: cbne $ff+x, .ok
   Input: A=$ff X=$02 Y=$56 P=$df ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 01e4: cbne $ff+x, .ok
   Input: A=$ff X=$02 Y=$56 P=$df ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$df ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 01e5: cbne $ff+x, .not_ok
   Input: A=$ff X=$02 Y=$56 P=$df ($01)=$ff
   Expected output: A=$ff X=$02 Y=$56 P=$df ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 01e6: cbne $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Additional initialization or checks are performed - see assembly
Test 01e7: cbne $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Additional initialization or checks are performed - see assembly
Test 01e8: cbne $02, .not_ok
   Input: A=$80 X=$34 Y=$56 P=$ff ($102)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$ff ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 01e9: cbne $ff+x, .ok
   Input: A=$ff X=$04 Y=$56 P=$ff ($103)=$00
   Expected output: A=$ff X=$04 Y=$56 P=$ff ($103)=$00
   Additional initialization or checks are performed - see assembly
Test 01ea: cbne $ff+x, .ok
   Input: A=$ff X=$04 Y=$56 P=$ff ($103)=$00
   Expected output: A=$ff X=$04 Y=$56 P=$ff ($103)=$00
   Additional initialization or checks are performed - see assembly
Test 01eb: cbne $ff+x, .not_ok
   Input: A=$ff X=$04 Y=$56 P=$ff ($103)=$ff
   Expected output: A=$ff X=$04 Y=$56 P=$ff ($103)=$ff
   Additional initialization or checks are performed - see assembly
Test 01ec: clr1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
Test 01ed: clr1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
Test 01ee: clr1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 01ef: clr1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 01f0: clr1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$fe
Test 01f1: clr1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fe
Test 01f2: clr1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 01f3: clr1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 01f4: clr1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fd
Test 01f5: clr1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fd
Test 01f6: clr1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 01f7: clr1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 01f8: clr1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$fd
Test 01f9: clr1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fd
Test 01fa: clr1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 01fb: clr1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 01fc: clr1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$fb
Test 01fd: clr1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$fb
Test 01fe: clr1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 01ff: clr1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0200: clr1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$fb
Test 0201: clr1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 0202: clr1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 0203: clr1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 0204: clr1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$f7
Test 0205: clr1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$f7
Test 0206: clr1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 0207: clr1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0208: clr1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$f7
Test 0209: clr1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$f7
Test 020a: clr1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 020b: clr1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 020c: clr1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ef
Test 020d: clr1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ef
Test 020e: clr1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 020f: clr1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0210: clr1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ef
Test 0211: clr1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ef
Test 0212: clr1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 0213: clr1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 0214: clr1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$df
Test 0215: clr1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$df
Test 0216: clr1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 0217: clr1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0218: clr1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$df
Test 0219: clr1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$df
Test 021a: clr1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 021b: clr1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 021c: clr1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$bf
Test 021d: clr1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$bf
Test 021e: clr1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 021f: clr1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0220: clr1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$bf
Test 0221: clr1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$bf
Test 0222: clr1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 0223: clr1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 0224: clr1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f
Test 0225: clr1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$7f
Test 0226: clr1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 0227: clr1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 0228: clr1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$7f
Test 0229: clr1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$7f
Test 022a: clr1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$00
Test 022b: clr1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
Test 022c: clrc
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fe
Test 022d: clrc
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
Test 022e: clrp
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df
Test 022f: clrp
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
Test 0230: clrv
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$b7
Test 0231: clrv
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
Test 0232: setc
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
Test 0233: setc
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$01
Test 0234: setp
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
Test 0235: setp
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20
Test 0236: di
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fb
Test 0237: di
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
Test 0238: ei
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
Test 0239: ei
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$04
Test 023a: notc
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fe
Test 023b: notc
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$01
Test 023c: cmp a, #$12
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$03
Test 023d: cmp (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$12 ($02)=$12
   Expected output: A=$12 X=$01 Y=$02 P=$03 ($01)=$12 ($02)=$12
Test 023e: cmp a, (x)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$01 Y=$56 P=$03 ($01)=$12
Test 023f: cmp a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$12
   Expected output: A=$12 X=$34 Y=$05 P=$03 ($03)=$12 ($01)=$fe ($02)=$ff
Test 0240: cmp a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$12
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($102)=$12 ($01)=$02 ($02)=$01
Test 0241: cmp a, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$12
Test 0242: cmp a, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$12
Test 0243: cmp a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($01)=$12
Test 0244: cmp a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$12
   Expected output: A=$12 X=$03 Y=$56 P=$23 ($102)=$12
Test 0245: cmp a, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($103)=$12
Test 0246: cmp a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$00 ($04)=$12
   Expected output: A=$12 X=$05 Y=$56 P=$03 ($04)=$12
Test 0247: cmp a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$00 ($104)=$12
   Expected output: A=$12 X=$34 Y=$01 P=$03 ($104)=$12
Test 0248: cmp $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$12 ($02)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$12 ($02)=$12
Test 0249: cmp $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$12 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$12 ($103)=$12
Test 024a: cmp $01, #$12
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$12
Test 024b: cmp $02, #$12
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$12
Test 024c: cmp x, #$12
   Input: A=$12 X=$12 Y=$56 P=$00
   Expected output: A=$12 X=$12 Y=$56 P=$03
Test 024d: cmp x, $01
   Input: A=$12 X=$12 Y=$56 P=$00 ($01)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$03 ($01)=$12
Test 024e: cmp x, $02
   Input: A=$12 X=$12 Y=$56 P=$20 ($102)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$23 ($102)=$12
Test 024f: cmp x, $103
   Input: A=$12 X=$12 Y=$56 P=$00 ($103)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$03 ($103)=$12
Test 0250: cmp y, #$12
   Input: A=$12 X=$34 Y=$12 P=$00
   Expected output: A=$12 X=$34 Y=$12 P=$03
Test 0251: cmp y, $01
   Input: A=$12 X=$34 Y=$12 P=$00 ($01)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$03 ($01)=$12
Test 0252: cmp y, $02
   Input: A=$12 X=$34 Y=$12 P=$20 ($102)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$23 ($102)=$12
Test 0253: cmp y, $103
   Input: A=$12 X=$34 Y=$12 P=$00 ($103)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$03 ($103)=$12
Test 0254: cmp a, #$12
   Input: A=$13 X=$34 Y=$56 P=$df
   Expected output: A=$13 X=$34 Y=$56 P=$5d
Test 0255: cmp (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$13 ($02)=$12
   Expected output: A=$12 X=$01 Y=$02 P=$5d ($01)=$13 ($02)=$12
Test 0256: cmp a, (x)
   Input: A=$13 X=$01 Y=$56 P=$df ($01)=$12
   Expected output: A=$13 X=$01 Y=$56 P=$5d ($01)=$12
Test 0257: cmp a, [$01]+y
   Input: A=$13 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$12
   Expected output: A=$13 X=$34 Y=$05 P=$5d ($03)=$12 ($01)=$fe ($02)=$ff
Test 0258: cmp a, [$ff+x]
   Input: A=$13 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$12
   Expected output: A=$13 X=$02 Y=$56 P=$5d ($102)=$12 ($01)=$02 ($02)=$01
Test 0259: cmp a, $01
   Input: A=$13 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$13 X=$34 Y=$56 P=$5d ($01)=$12
Test 025a: cmp a, $02
   Input: A=$13 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$13 X=$34 Y=$56 P=$7d ($102)=$12
Test 025b: cmp a, $ff+x
   Input: A=$13 X=$02 Y=$56 P=$df ($01)=$12
   Expected output: A=$13 X=$02 Y=$56 P=$5d ($01)=$12
Test 025c: cmp a, $ff+x
   Input: A=$13 X=$03 Y=$56 P=$ff ($102)=$12
   Expected output: A=$13 X=$03 Y=$56 P=$7d ($102)=$12
Test 025d: cmp a, $103
   Input: A=$13 X=$34 Y=$56 P=$df ($103)=$12
   Expected output: A=$13 X=$34 Y=$56 P=$5d ($103)=$12
Test 025e: cmp a, $ffff+x
   Input: A=$13 X=$05 Y=$56 P=$df ($04)=$12
   Expected output: A=$13 X=$05 Y=$56 P=$5d ($04)=$12
Test 025f: cmp a, $103+y
   Input: A=$13 X=$34 Y=$01 P=$df ($104)=$12
   Expected output: A=$13 X=$34 Y=$01 P=$5d ($104)=$12
Test 0260: cmp $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$13 ($02)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$13 ($02)=$12
Test 0261: cmp $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$13 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($102)=$13 ($103)=$12
Test 0262: cmp $01, #$12
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$13
Test 0263: cmp $02, #$12
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($102)=$13
Test 0264: cmp x, #$12
   Input: A=$12 X=$13 Y=$56 P=$df
   Expected output: A=$12 X=$13 Y=$56 P=$5d
Test 0265: cmp x, $01
   Input: A=$12 X=$13 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$13 Y=$56 P=$5d ($01)=$12
Test 0266: cmp x, $02
   Input: A=$12 X=$13 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$13 Y=$56 P=$7d ($102)=$12
Test 0267: cmp x, $103
   Input: A=$12 X=$13 Y=$56 P=$df ($103)=$12
   Expected output: A=$12 X=$13 Y=$56 P=$5d ($103)=$12
Test 0268: cmp y, #$12
   Input: A=$12 X=$34 Y=$13 P=$df
   Expected output: A=$12 X=$34 Y=$13 P=$5d
Test 0269: cmp y, $01
   Input: A=$12 X=$34 Y=$13 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$13 P=$5d ($01)=$12
Test 026a: cmp y, $02
   Input: A=$12 X=$34 Y=$13 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$13 P=$7d ($102)=$12
Test 026b: cmp y, $103
   Input: A=$12 X=$34 Y=$13 P=$df ($103)=$12
   Expected output: A=$12 X=$34 Y=$13 P=$5d ($103)=$12
Test 026c: cmp a, #$13
   Input: A=$12 X=$34 Y=$56 P=$df
   Expected output: A=$12 X=$34 Y=$56 P=$dc
Test 026d: cmp (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$12 ($02)=$13
   Expected output: A=$12 X=$01 Y=$02 P=$dc ($01)=$12 ($02)=$13
Test 026e: cmp a, (x)
   Input: A=$12 X=$01 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$01 Y=$56 P=$dc ($01)=$13
Test 026f: cmp a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$13
   Expected output: A=$12 X=$34 Y=$05 P=$dc ($03)=$13 ($01)=$fe ($02)=$ff
Test 0270: cmp a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$13
   Expected output: A=$12 X=$02 Y=$56 P=$dc ($102)=$13 ($01)=$02 ($02)=$01
Test 0271: cmp a, $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($01)=$13
Test 0272: cmp a, $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$fc ($102)=$13
Test 0273: cmp a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$02 Y=$56 P=$dc ($01)=$13
Test 0274: cmp a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$03 Y=$56 P=$fc ($102)=$13
Test 0275: cmp a, $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($103)=$13
Test 0276: cmp a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$df ($04)=$13
   Expected output: A=$12 X=$05 Y=$56 P=$dc ($04)=$13
Test 0277: cmp a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$df ($104)=$13
   Expected output: A=$12 X=$34 Y=$01 P=$dc ($104)=$13
Test 0278: cmp $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12 ($02)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($01)=$12 ($02)=$13
Test 0279: cmp $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12 ($103)=$13
   Expected output: A=$12 X=$34 Y=$56 P=$fc ($102)=$12 ($103)=$13
Test 027a: cmp $01, #$13
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($01)=$12
Test 027b: cmp $02, #$13
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$fc ($102)=$12
Test 027c: cmp x, #$13
   Input: A=$12 X=$12 Y=$56 P=$df
   Expected output: A=$12 X=$12 Y=$56 P=$dc
Test 027d: cmp x, $01
   Input: A=$12 X=$12 Y=$56 P=$df ($01)=$13
   Expected output: A=$12 X=$12 Y=$56 P=$dc ($01)=$13
Test 027e: cmp x, $02
   Input: A=$12 X=$12 Y=$56 P=$ff ($102)=$13
   Expected output: A=$12 X=$12 Y=$56 P=$fc ($102)=$13
Test 027f: cmp x, $103
   Input: A=$12 X=$12 Y=$56 P=$df ($103)=$13
   Expected output: A=$12 X=$12 Y=$56 P=$dc ($103)=$13
Test 0280: cmp y, #$13
   Input: A=$12 X=$34 Y=$12 P=$df
   Expected output: A=$12 X=$34 Y=$12 P=$dc
Test 0281: cmp y, $01
   Input: A=$12 X=$34 Y=$12 P=$df ($01)=$13
   Expected output: A=$12 X=$34 Y=$12 P=$dc ($01)=$13
Test 0282: cmp y, $02
   Input: A=$12 X=$34 Y=$12 P=$ff ($102)=$13
   Expected output: A=$12 X=$34 Y=$12 P=$fc ($102)=$13
Test 0283: cmp y, $103
   Input: A=$12 X=$34 Y=$12 P=$df ($103)=$13
   Expected output: A=$12 X=$34 Y=$12 P=$dc ($103)=$13
Test 0284: cmp a, #$ff
   Input: A=$fe X=$34 Y=$56 P=$00
   Expected output: A=$fe X=$34 Y=$56 P=$80
Test 0285: cmp (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$fe ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$80 ($01)=$fe ($02)=$ff
Test 0286: cmp a, (x)
   Input: A=$fe X=$01 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$fe X=$01 Y=$56 P=$80 ($01)=$ff
Test 0287: cmp a, [$01]+y
   Input: A=$fe X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$fe X=$34 Y=$05 P=$80 ($03)=$ff ($01)=$fe ($02)=$ff
Test 0288: cmp a, [$ff+x]
   Input: A=$fe X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$fe X=$02 Y=$56 P=$80 ($102)=$ff ($01)=$02 ($02)=$01
Test 0289: cmp a, $01
   Input: A=$fe X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$fe X=$34 Y=$56 P=$80 ($01)=$ff
Test 028a: cmp a, $02
   Input: A=$fe X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$fe X=$34 Y=$56 P=$a0 ($102)=$ff
Test 028b: cmp a, $ff+x
   Input: A=$fe X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$fe X=$02 Y=$56 P=$80 ($01)=$ff
Test 028c: cmp a, $ff+x
   Input: A=$fe X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$fe X=$03 Y=$56 P=$a0 ($102)=$ff
Test 028d: cmp a, $103
   Input: A=$fe X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$fe X=$34 Y=$56 P=$80 ($103)=$ff
Test 028e: cmp a, $ffff+x
   Input: A=$fe X=$05 Y=$56 P=$00 ($04)=$ff
   Expected output: A=$fe X=$05 Y=$56 P=$80 ($04)=$ff
Test 028f: cmp a, $103+y
   Input: A=$fe X=$34 Y=$01 P=$00 ($104)=$ff
   Expected output: A=$fe X=$34 Y=$01 P=$80 ($104)=$ff
Test 0290: cmp $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$fe ($02)=$ff
Test 0291: cmp $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$fe ($103)=$ff
Test 0292: cmp $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$fe
Test 0293: cmp $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$fe
Test 0294: cmp x, #$ff
   Input: A=$12 X=$fe Y=$56 P=$00
   Expected output: A=$12 X=$fe Y=$56 P=$80
Test 0295: cmp x, $01
   Input: A=$12 X=$fe Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$fe Y=$56 P=$80 ($01)=$ff
Test 0296: cmp x, $02
   Input: A=$12 X=$fe Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$fe Y=$56 P=$a0 ($102)=$ff
Test 0297: cmp x, $103
   Input: A=$12 X=$fe Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$fe Y=$56 P=$80 ($103)=$ff
Test 0298: cmp y, #$ff
   Input: A=$12 X=$34 Y=$fe P=$00
   Expected output: A=$12 X=$34 Y=$fe P=$80
Test 0299: cmp y, $01
   Input: A=$12 X=$34 Y=$fe P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$fe P=$80 ($01)=$ff
Test 029a: cmp y, $02
   Input: A=$12 X=$34 Y=$fe P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$fe P=$a0 ($102)=$ff
Test 029b: cmp y, $103
   Input: A=$12 X=$34 Y=$fe P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$fe P=$80 ($103)=$ff
Test 029c: cmp a, #$01
   Input: A=$fe X=$34 Y=$56 P=$00
   Expected output: A=$fe X=$34 Y=$56 P=$81
Test 029d: cmp (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$fe ($02)=$01
   Expected output: A=$12 X=$01 Y=$02 P=$81 ($01)=$fe ($02)=$01
Test 029e: cmp a, (x)
   Input: A=$fe X=$01 Y=$56 P=$00 ($01)=$01
   Expected output: A=$fe X=$01 Y=$56 P=$81 ($01)=$01
Test 029f: cmp a, [$01]+y
   Input: A=$fe X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$01
   Expected output: A=$fe X=$34 Y=$05 P=$81 ($03)=$01 ($01)=$fe ($02)=$ff
Test 02a0: cmp a, [$ff+x]
   Input: A=$fe X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$01
   Expected output: A=$fe X=$02 Y=$56 P=$81 ($102)=$01 ($01)=$02 ($02)=$01
Test 02a1: cmp a, $01
   Input: A=$fe X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$fe X=$34 Y=$56 P=$81 ($01)=$01
Test 02a2: cmp a, $02
   Input: A=$fe X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$fe X=$34 Y=$56 P=$a1 ($102)=$01
Test 02a3: cmp a, $ff+x
   Input: A=$fe X=$02 Y=$56 P=$00 ($01)=$01
   Expected output: A=$fe X=$02 Y=$56 P=$81 ($01)=$01
Test 02a4: cmp a, $ff+x
   Input: A=$fe X=$03 Y=$56 P=$20 ($102)=$01
   Expected output: A=$fe X=$03 Y=$56 P=$a1 ($102)=$01
Test 02a5: cmp a, $103
   Input: A=$fe X=$34 Y=$56 P=$00 ($103)=$01
   Expected output: A=$fe X=$34 Y=$56 P=$81 ($103)=$01
Test 02a6: cmp a, $ffff+x
   Input: A=$fe X=$05 Y=$56 P=$00 ($04)=$01
   Expected output: A=$fe X=$05 Y=$56 P=$81 ($04)=$01
Test 02a7: cmp a, $103+y
   Input: A=$fe X=$34 Y=$01 P=$00 ($104)=$01
   Expected output: A=$fe X=$34 Y=$01 P=$81 ($104)=$01
Test 02a8: cmp $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe ($02)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$fe ($02)=$01
Test 02a9: cmp $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe ($103)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$fe ($103)=$01
Test 02aa: cmp $01, #$01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$fe
Test 02ab: cmp $02, #$01
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$fe
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$fe
Test 02ac: cmp x, #$01
   Input: A=$12 X=$fe Y=$56 P=$00
   Expected output: A=$12 X=$fe Y=$56 P=$81
Test 02ad: cmp x, $01
   Input: A=$12 X=$fe Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$fe Y=$56 P=$81 ($01)=$01
Test 02ae: cmp x, $02
   Input: A=$12 X=$fe Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$fe Y=$56 P=$a1 ($102)=$01
Test 02af: cmp x, $103
   Input: A=$12 X=$fe Y=$56 P=$00 ($103)=$01
   Expected output: A=$12 X=$fe Y=$56 P=$81 ($103)=$01
Test 02b0: cmp y, #$01
   Input: A=$12 X=$34 Y=$fe P=$00
   Expected output: A=$12 X=$34 Y=$fe P=$81
Test 02b1: cmp y, $01
   Input: A=$12 X=$34 Y=$fe P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$fe P=$81 ($01)=$01
Test 02b2: cmp y, $02
   Input: A=$12 X=$34 Y=$fe P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$fe P=$a1 ($102)=$01
Test 02b3: cmp y, $103
   Input: A=$12 X=$34 Y=$fe P=$00 ($103)=$01
   Expected output: A=$12 X=$34 Y=$fe P=$81 ($103)=$01
Test 02b4: cmpw ya, $01
   Input: A=$45 X=$34 Y=$23 P=$00 ($01)=$45 ($02)=$12
   Expected output: A=$45 X=$34 Y=$23 P=$01 ($01)=$45 ($02)=$12
Test 02b5: cmpw ya, $FF
   Input: A=$45 X=$34 Y=$23 P=$20 ($1ff)=$45 ($100)=$12
   Expected output: A=$45 X=$34 Y=$23 P=$21 ($1ff)=$45 ($100)=$12
Test 02b6: cmpw ya, $01
   Input: A=$ff X=$34 Y=$ff P=$df ($01)=$ff ($02)=$ff
   Expected output: A=$ff X=$34 Y=$ff P=$5f ($01)=$ff ($02)=$ff
Test 02b7: cmpw ya, $FF
   Input: A=$ff X=$34 Y=$ff P=$ff ($1ff)=$ff ($100)=$ff
   Expected output: A=$ff X=$34 Y=$ff P=$7f ($1ff)=$ff ($100)=$ff
Test 02b8: cmpw ya, $01
   Input: A=$ff X=$34 Y=$ff P=$df ($01)=$01 ($02)=$00
   Expected output: A=$ff X=$34 Y=$ff P=$dd ($01)=$01 ($02)=$00
Test 02b9: cmpw ya, $FF
   Input: A=$ff X=$34 Y=$ff P=$ff ($1ff)=$01 ($100)=$00
   Expected output: A=$ff X=$34 Y=$ff P=$fd ($1ff)=$01 ($100)=$00
Test 02ba: cmpw ya, $01
   Input: A=$ff X=$34 Y=$7f P=$00 ($01)=$00 ($02)=$80
   Expected output: A=$ff X=$34 Y=$7f P=$80 ($01)=$00 ($02)=$80
Test 02bb: cmpw ya, $FF
   Input: A=$ff X=$34 Y=$7f P=$20 ($1ff)=$00 ($100)=$80
   Expected output: A=$ff X=$34 Y=$7f P=$a0 ($1ff)=$00 ($100)=$80
Test 02bc: dbnz y, .ok
   Input: A=$12 X=$34 Y=$00 P=$00
   Expected output: A=$12 X=$34 Y=$ff P=$00
   Additional initialization or checks are performed - see assembly
Test 02bd: dbnz y, .ok
   Input: A=$12 X=$34 Y=$00 P=$00
   Expected output: A=$12 X=$34 Y=$ff P=$00
   Additional initialization or checks are performed - see assembly
Test 02be: dbnz y, .ok
   Input: A=$12 X=$34 Y=$81 P=$ff
   Expected output: A=$12 X=$34 Y=$80 P=$ff
   Additional initialization or checks are performed - see assembly
Test 02bf: dbnz y, .ok
   Input: A=$12 X=$34 Y=$81 P=$ff
   Expected output: A=$12 X=$34 Y=$80 P=$ff
   Additional initialization or checks are performed - see assembly
Test 02c0: dbnz y, .not_ok
   Input: A=$12 X=$34 Y=$01 P=$00
   Expected output: A=$12 X=$34 Y=$00 P=$00
   Additional initialization or checks are performed - see assembly
Test 02c1: dbnz $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 02c2: dbnz $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Additional initialization or checks are performed - see assembly
Test 02c3: dbnz $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$81
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 02c4: dbnz $01, .ok
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$81
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$80
   Additional initialization or checks are performed - see assembly
Test 02c5: dbnz $01, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Additional initialization or checks are performed - see assembly
Test 02c6: dbnz $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Additional initialization or checks are performed - see assembly
Test 02c7: dbnz $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Additional initialization or checks are performed - see assembly
Test 02c8: dbnz $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$81
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 02c9: dbnz $02, .ok
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$81
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$80
   Additional initialization or checks are performed - see assembly
Test 02ca: dbnz $02, .not_ok
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Additional initialization or checks are performed - see assembly
Test 02cb: dec a
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80
Test 02cc: dec $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff
Test 02cd: dec $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff
Test 02ce: dec $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$02 Y=$56 P=$80 ($01)=$ff
Test 02cf: dec $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$03 Y=$56 P=$a0 ($102)=$ff
Test 02d0: dec $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($103)=$ff
Test 02d1: dec x
   Input: A=$12 X=$00 Y=$56 P=$00
   Expected output: A=$12 X=$ff Y=$56 P=$80
Test 02d2: dec y
   Input: A=$12 X=$34 Y=$00 P=$00
   Expected output: A=$12 X=$34 Y=$ff P=$80
Test 02d3: dec a
   Input: A=$01 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 02d4: dec $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 02d5: dec $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 02d6: dec $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$02 Y=$56 P=$02 ($01)=$00
Test 02d7: dec $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$03 Y=$56 P=$22 ($102)=$00
Test 02d8: dec $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($103)=$00
Test 02d9: dec x
   Input: A=$12 X=$01 Y=$56 P=$00
   Expected output: A=$12 X=$00 Y=$56 P=$02
Test 02da: dec y
   Input: A=$12 X=$34 Y=$01 P=$00
   Expected output: A=$12 X=$34 Y=$00 P=$02
Test 02db: dec a
   Input: A=$80 X=$34 Y=$56 P=$df
   Expected output: A=$7f X=$34 Y=$56 P=$5d
Test 02dc: dec $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$7f
Test 02dd: dec $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($102)=$7f
Test 02de: dec $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$80
   Expected output: A=$12 X=$02 Y=$56 P=$5d ($01)=$7f
Test 02df: dec $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$80
   Expected output: A=$12 X=$03 Y=$56 P=$7d ($102)=$7f
Test 02e0: dec $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($103)=$7f
Test 02e1: dec x
   Input: A=$12 X=$80 Y=$56 P=$df
   Expected output: A=$12 X=$7f Y=$56 P=$5d
Test 02e2: dec y
   Input: A=$12 X=$34 Y=$80 P=$df
   Expected output: A=$12 X=$34 Y=$7f P=$5d
Test 02e3: decw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$00
Test 02e4: decw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($1ff)=$00 ($100)=$00
Test 02e5: decw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff ($02)=$ff
Test 02e6: decw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$00 ($100)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($1ff)=$ff ($100)=$ff
Test 02e7: decw $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$01 ($02)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$00 ($02)=$01
Test 02e8: decw $FF
   Input: A=$12 X=$34 Y=$56 P=$ff ($1ff)=$01 ($100)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($1ff)=$00 ($100)=$01
Test 02e9: decw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$7f ($02)=$00
Test 02ea: decw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$80 ($100)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$7f ($100)=$00
Test 02eb: eor a, #$ff
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 02ec: eor (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$02 ($01)=$00 ($02)=$ff
Test 02ed: eor a, (x)
   Input: A=$ff X=$01 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$01 Y=$56 P=$02 ($01)=$ff
Test 02ee: eor a, [$01]+y
   Input: A=$ff X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$00 X=$34 Y=$05 P=$02 ($03)=$ff ($01)=$fe ($02)=$ff
Test 02ef: eor a, [$ff+x]
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($102)=$ff ($01)=$02 ($02)=$01
Test 02f0: eor a, $01
   Input: A=$ff X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($01)=$ff
Test 02f1: eor a, $02
   Input: A=$ff X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$22 ($102)=$ff
Test 02f2: eor a, $ff+x
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$ff
Test 02f3: eor a, $ff+x
   Input: A=$ff X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$00 X=$03 Y=$56 P=$22 ($102)=$ff
Test 02f4: eor a, $103
   Input: A=$ff X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($103)=$ff
Test 02f5: eor a, $ffff+x
   Input: A=$ff X=$05 Y=$56 P=$00 ($04)=$ff
   Expected output: A=$00 X=$05 Y=$56 P=$02 ($04)=$ff
Test 02f6: eor a, $103+y
   Input: A=$ff X=$34 Y=$01 P=$00 ($104)=$ff
   Expected output: A=$00 X=$34 Y=$01 P=$02 ($104)=$ff
Test 02f7: eor $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$ff
Test 02f8: eor $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00 ($103)=$ff
Test 02f9: eor $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 02fa: eor $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 02fb: eor a, #$00
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80
Test 02fc: eor (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$80 ($01)=$ff ($02)=$00
Test 02fd: eor a, (x)
   Input: A=$ff X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$01 Y=$56 P=$80 ($01)=$00
Test 02fe: eor a, [$01]+y
   Input: A=$ff X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$ff X=$34 Y=$05 P=$80 ($03)=$00 ($01)=$fe ($02)=$ff
Test 02ff: eor a, [$ff+x]
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($102)=$00 ($01)=$02 ($02)=$01
Test 0300: eor a, $01
   Input: A=$ff X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($01)=$00
Test 0301: eor a, $02
   Input: A=$ff X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$a0 ($102)=$00
Test 0302: eor a, $ff+x
   Input: A=$ff X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($01)=$00
Test 0303: eor a, $ff+x
   Input: A=$ff X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$ff X=$03 Y=$56 P=$a0 ($102)=$00
Test 0304: eor a, $103
   Input: A=$ff X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($103)=$00
Test 0305: eor a, $ffff+x
   Input: A=$ff X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$ff X=$05 Y=$56 P=$80 ($04)=$00
Test 0306: eor a, $103+y
   Input: A=$ff X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$ff X=$34 Y=$01 P=$80 ($104)=$00
Test 0307: eor $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff ($02)=$00
Test 0308: eor $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff ($103)=$00
Test 0309: eor $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff
Test 030a: eor $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff
Test 030b: eor a, #$ff
   Input: A=$55 X=$34 Y=$56 P=$df
   Expected output: A=$aa X=$34 Y=$56 P=$dd
Test 030c: eor (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$55 ($02)=$ff
   Expected output: A=$12 X=$01 Y=$02 P=$dd ($01)=$aa ($02)=$ff
Test 030d: eor a, (x)
   Input: A=$55 X=$01 Y=$56 P=$df ($01)=$ff
   Expected output: A=$aa X=$01 Y=$56 P=$dd ($01)=$ff
Test 030e: eor a, [$01]+y
   Input: A=$55 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$aa X=$34 Y=$05 P=$dd ($03)=$ff ($01)=$fe ($02)=$ff
Test 030f: eor a, [$ff+x]
   Input: A=$55 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$aa X=$02 Y=$56 P=$dd ($102)=$ff ($01)=$02 ($02)=$01
Test 0310: eor a, $01
   Input: A=$55 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$aa X=$34 Y=$56 P=$dd ($01)=$ff
Test 0311: eor a, $02
   Input: A=$55 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$aa X=$34 Y=$56 P=$fd ($102)=$ff
Test 0312: eor a, $ff+x
   Input: A=$55 X=$02 Y=$56 P=$df ($01)=$ff
   Expected output: A=$aa X=$02 Y=$56 P=$dd ($01)=$ff
Test 0313: eor a, $ff+x
   Input: A=$55 X=$03 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$aa X=$03 Y=$56 P=$fd ($102)=$ff
Test 0314: eor a, $103
   Input: A=$55 X=$34 Y=$56 P=$df ($103)=$ff
   Expected output: A=$aa X=$34 Y=$56 P=$dd ($103)=$ff
Test 0315: eor a, $ffff+x
   Input: A=$55 X=$05 Y=$56 P=$df ($04)=$ff
   Expected output: A=$aa X=$05 Y=$56 P=$dd ($04)=$ff
Test 0316: eor a, $103+y
   Input: A=$55 X=$34 Y=$01 P=$df ($104)=$ff
   Expected output: A=$aa X=$34 Y=$01 P=$dd ($104)=$ff
Test 0317: eor $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$55 ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$aa ($02)=$ff
Test 0318: eor $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$55 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$aa ($103)=$ff
Test 0319: eor $01, #$ff
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$55
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$aa
Test 031a: eor $02, #$ff
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$55
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$aa
Test 031b: eor a, #$89
   Input: A=$35 X=$34 Y=$56 P=$df
   Expected output: A=$bc X=$34 Y=$56 P=$dd
Test 031c: eor (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$35 ($02)=$89
   Expected output: A=$12 X=$01 Y=$02 P=$dd ($01)=$bc ($02)=$89
Test 031d: eor a, (x)
   Input: A=$35 X=$01 Y=$56 P=$df ($01)=$89
   Expected output: A=$bc X=$01 Y=$56 P=$dd ($01)=$89
Test 031e: eor a, [$01]+y
   Input: A=$35 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$89
   Expected output: A=$bc X=$34 Y=$05 P=$dd ($03)=$89 ($01)=$fe ($02)=$ff
Test 031f: eor a, [$ff+x]
   Input: A=$35 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$89
   Expected output: A=$bc X=$02 Y=$56 P=$dd ($102)=$89 ($01)=$02 ($02)=$01
Test 0320: eor a, $01
   Input: A=$35 X=$34 Y=$56 P=$df ($01)=$89
   Expected output: A=$bc X=$34 Y=$56 P=$dd ($01)=$89
Test 0321: eor a, $02
   Input: A=$35 X=$34 Y=$56 P=$ff ($102)=$89
   Expected output: A=$bc X=$34 Y=$56 P=$fd ($102)=$89
Test 0322: eor a, $ff+x
   Input: A=$35 X=$02 Y=$56 P=$df ($01)=$89
   Expected output: A=$bc X=$02 Y=$56 P=$dd ($01)=$89
Test 0323: eor a, $ff+x
   Input: A=$35 X=$03 Y=$56 P=$ff ($102)=$89
   Expected output: A=$bc X=$03 Y=$56 P=$fd ($102)=$89
Test 0324: eor a, $103
   Input: A=$35 X=$34 Y=$56 P=$df ($103)=$89
   Expected output: A=$bc X=$34 Y=$56 P=$dd ($103)=$89
Test 0325: eor a, $ffff+x
   Input: A=$35 X=$05 Y=$56 P=$df ($04)=$89
   Expected output: A=$bc X=$05 Y=$56 P=$dd ($04)=$89
Test 0326: eor a, $103+y
   Input: A=$35 X=$34 Y=$01 P=$df ($104)=$89
   Expected output: A=$bc X=$34 Y=$01 P=$dd ($104)=$89
Test 0327: eor $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$35 ($02)=$89
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$bc ($02)=$89
Test 0328: eor $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$35 ($103)=$89
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$bc ($103)=$89
Test 0329: eor $01, #$89
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$35
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$bc
Test 032a: eor $02, #$89
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$35
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$bc
Test 032b: eor1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
Test 032c: eor1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 032d: eor1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 032e: eor1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
Test 032f: inc a
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$01 X=$34 Y=$56 P=$00
Test 0330: inc $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
Test 0331: inc $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
Test 0332: inc $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$02 Y=$56 P=$00 ($01)=$01
Test 0333: inc $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$03 Y=$56 P=$20 ($102)=$01
Test 0334: inc $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($103)=$01
Test 0335: inc x
   Input: A=$12 X=$00 Y=$56 P=$00
   Expected output: A=$12 X=$01 Y=$56 P=$00
Test 0336: inc y
   Input: A=$12 X=$34 Y=$00 P=$00
   Expected output: A=$12 X=$34 Y=$01 P=$00
Test 0337: inc a
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 0338: inc $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 0339: inc $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 033a: inc $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$02 ($01)=$00
Test 033b: inc $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$22 ($102)=$00
Test 033c: inc $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($103)=$00
Test 033d: inc x
   Input: A=$12 X=$ff Y=$56 P=$00
   Expected output: A=$12 X=$00 Y=$56 P=$02
Test 033e: inc y
   Input: A=$12 X=$34 Y=$ff P=$00
   Expected output: A=$12 X=$34 Y=$00 P=$02
Test 033f: inc a
   Input: A=$80 X=$34 Y=$56 P=$df
   Expected output: A=$81 X=$34 Y=$56 P=$dd
Test 0340: inc $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$81
Test 0341: inc $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$81
Test 0342: inc $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$80
   Expected output: A=$12 X=$02 Y=$56 P=$dd ($01)=$81
Test 0343: inc $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$80
   Expected output: A=$12 X=$03 Y=$56 P=$fd ($102)=$81
Test 0344: inc $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($103)=$81
Test 0345: inc x
   Input: A=$12 X=$80 Y=$56 P=$df
   Expected output: A=$12 X=$81 Y=$56 P=$dd
Test 0346: inc y
   Input: A=$12 X=$34 Y=$80 P=$df
   Expected output: A=$12 X=$34 Y=$81 P=$dd
Test 0347: incw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$00
Test 0348: incw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$ff ($100)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($1ff)=$00 ($100)=$00
Test 0349: incw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01 ($02)=$00
Test 034a: incw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$00 ($100)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$01 ($100)=$00
Test 034b: incw $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$00 ($02)=$01
Test 034c: incw $FF
   Input: A=$12 X=$34 Y=$56 P=$ff ($1ff)=$ff ($100)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($1ff)=$00 ($100)=$01
Test 034d: incw $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$00 ($02)=$80
Test 034e: incw $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$ff ($100)=$7f
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($1ff)=$00 ($100)=$80
Test 034f: jmp .ok
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0350: jmp [$FF00+x]
   Input: A=$12 X=$ff Y=$56 P=$00
   Expected output: A=$12 X=$ff Y=$56 P=$00
   Additional initialization or checks are performed - see assembly
Test 0351: lsr a
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$7f X=$34 Y=$56 P=$01
Test 0352: lsr $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($01)=$7f
Test 0353: lsr $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$21 ($102)=$7f
Test 0354: lsr $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$01 ($01)=$7f
Test 0355: lsr $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$21 ($102)=$7f
Test 0356: lsr $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($103)=$7f
Test 0357: lsr a
   Input: A=$01 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$03
Test 0358: lsr $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$00
Test 0359: lsr $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$00
Test 035a: lsr $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($01)=$00
Test 035b: lsr $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$03 Y=$56 P=$23 ($102)=$00
Test 035c: lsr $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($103)=$00
Test 035d: lsr a
   Input: A=$06 X=$34 Y=$56 P=$df
   Expected output: A=$03 X=$34 Y=$56 P=$5c
Test 035e: lsr $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($01)=$03
Test 035f: lsr $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$7c ($102)=$03
Test 0360: lsr $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$06
   Expected output: A=$12 X=$02 Y=$56 P=$5c ($01)=$03
Test 0361: lsr $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$06
   Expected output: A=$12 X=$03 Y=$56 P=$7c ($102)=$03
Test 0362: lsr $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($103)=$03
Test 0363: mov a, #$12
   Input: A=$00 X=$34 Y=$56 P=$df
   Expected output: A=$12 X=$34 Y=$56 P=$5d
Test 0364: mov a, (x)
   Input: A=$00 X=$01 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$01 Y=$56 P=$5d ($01)=$12
Test 0365: mov a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$12
   Expected output: A=$12 X=$34 Y=$05 P=$5d ($03)=$12 ($01)=$fe ($02)=$ff
Test 0366: mov a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$12
   Expected output: A=$12 X=$02 Y=$56 P=$5d ($102)=$12 ($01)=$02 ($02)=$01
Test 0367: mov a, $01
   Input: A=$00 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($01)=$12
Test 0368: mov a, $02
   Input: A=$00 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$7d ($102)=$12
Test 0369: mov a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$02 Y=$56 P=$5d ($01)=$12
Test 036a: mov a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$03 Y=$56 P=$7d ($102)=$12
Test 036b: mov a, $103
   Input: A=$00 X=$34 Y=$56 P=$df ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$5d ($103)=$12
Test 036c: mov a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$df ($04)=$12
   Expected output: A=$12 X=$05 Y=$56 P=$5d ($04)=$12
Test 036d: mov a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$df ($104)=$12
   Expected output: A=$12 X=$34 Y=$01 P=$5d ($104)=$12
Test 036e: mov a, (x+)
   Input: A=$00 X=$01 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$02 Y=$56 P=$5d ($01)=$12
Test 036f: mov a, #$80
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$80 X=$34 Y=$56 P=$80
Test 0370: mov a, (x)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$80
   Expected output: A=$80 X=$01 Y=$56 P=$80 ($01)=$80
Test 0371: mov a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$80
   Expected output: A=$80 X=$34 Y=$05 P=$80 ($03)=$80 ($01)=$fe ($02)=$ff
Test 0372: mov a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$80
   Expected output: A=$80 X=$02 Y=$56 P=$80 ($102)=$80 ($01)=$02 ($02)=$01
Test 0373: mov a, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$80 ($01)=$80
Test 0374: mov a, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$a0 ($102)=$80
Test 0375: mov a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$80
   Expected output: A=$80 X=$02 Y=$56 P=$80 ($01)=$80
Test 0376: mov a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$80
   Expected output: A=$80 X=$03 Y=$56 P=$a0 ($102)=$80
Test 0377: mov a, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$80
   Expected output: A=$80 X=$34 Y=$56 P=$80 ($103)=$80
Test 0378: mov a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$00 ($04)=$80
   Expected output: A=$80 X=$05 Y=$56 P=$80 ($04)=$80
Test 0379: mov a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$00 ($104)=$80
   Expected output: A=$80 X=$34 Y=$01 P=$80 ($104)=$80
Test 037a: mov a, (x+)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$80
   Expected output: A=$80 X=$02 Y=$56 P=$80 ($01)=$80
Test 037b: mov a, #$00
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 037c: mov a, (x)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$01 Y=$56 P=$02 ($01)=$00
Test 037d: mov a, [$01]+y
   Input: A=$12 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$00 X=$34 Y=$05 P=$02 ($03)=$00 ($01)=$fe ($02)=$ff
Test 037e: mov a, [$ff+x]
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($102)=$00 ($01)=$02 ($02)=$01
Test 037f: mov a, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($01)=$00
Test 0380: mov a, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$22 ($102)=$00
Test 0381: mov a, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$00
Test 0382: mov a, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$03 Y=$56 P=$22 ($102)=$00
Test 0383: mov a, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($103)=$00
Test 0384: mov a, $ffff+x
   Input: A=$12 X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$00 X=$05 Y=$56 P=$02 ($04)=$00
Test 0385: mov a, $103+y
   Input: A=$12 X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$00 X=$34 Y=$01 P=$02 ($104)=$00
Test 0386: mov a, (x+)
   Input: A=$12 X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$00
Test 0387: mov (x), a
   Input: A=$12 X=$01 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$01 Y=$56 P=$df ($01)=$12
Test 0388: mov [$01]+y, a
   Input: A=$12 X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$12 X=$34 Y=$05 P=$df ($03)=$12 ($01)=$fe ($02)=$ff
Test 0389: mov [$ff+x], a
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$12 X=$02 Y=$56 P=$df ($102)=$12 ($01)=$02 ($02)=$01
Test 038a: mov $01, a
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$12
Test 038b: mov $02, a
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
Test 038c: mov $ff+x, a
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$02 Y=$56 P=$df ($01)=$12
Test 038d: mov $ff+x, a
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$03 Y=$56 P=$ff ($102)=$12
Test 038e: mov $103, a
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($103)=$12
Test 038f: mov $ffff+x, a
   Input: A=$12 X=$05 Y=$56 P=$df ($04)=$00
   Expected output: A=$12 X=$05 Y=$56 P=$df ($04)=$12
Test 0390: mov $103+y, a
   Input: A=$12 X=$34 Y=$01 P=$df ($104)=$00
   Expected output: A=$12 X=$34 Y=$01 P=$df ($104)=$12
Test 0391: mov (x+), a
   Input: A=$12 X=$01 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$02 Y=$56 P=$df ($01)=$12
Test 0392: mov (x), a
   Input: A=$00 X=$01 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$01 Y=$56 P=$00 ($01)=$00
Test 0393: mov [$01]+y, a
   Input: A=$00 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$ff
   Expected output: A=$00 X=$34 Y=$05 P=$00 ($03)=$00 ($01)=$fe ($02)=$ff
Test 0394: mov [$ff+x], a
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$00 ($102)=$00 ($01)=$02 ($02)=$01
Test 0395: mov $01, a
   Input: A=$00 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$00 ($01)=$00
Test 0396: mov $02, a
   Input: A=$00 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$20 ($102)=$00
Test 0397: mov $ff+x, a
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$00 ($01)=$00
Test 0398: mov $ff+x, a
   Input: A=$00 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$00 X=$03 Y=$56 P=$20 ($102)=$00
Test 0399: mov $103, a
   Input: A=$00 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$00 ($103)=$00
Test 039a: mov $ffff+x, a
   Input: A=$00 X=$05 Y=$56 P=$00 ($04)=$ff
   Expected output: A=$00 X=$05 Y=$56 P=$00 ($04)=$00
Test 039b: mov $103+y, a
   Input: A=$00 X=$34 Y=$01 P=$00 ($104)=$ff
   Expected output: A=$00 X=$34 Y=$01 P=$00 ($104)=$00
Test 039c: mov (x+), a
   Input: A=$00 X=$01 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$00 X=$02 Y=$56 P=$00 ($01)=$00
Test 039d: mov x, #$12
   Input: A=$12 X=$00 Y=$56 P=$df
   Expected output: A=$12 X=$12 Y=$56 P=$5d
Test 039e: mov x, $01
   Input: A=$12 X=$00 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$5d ($01)=$12
Test 039f: mov x, $02
   Input: A=$12 X=$00 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$7d ($102)=$12
Test 03a0: mov x, $ff+y
   Input: A=$12 X=$00 Y=$02 P=$df ($01)=$12
   Expected output: A=$12 X=$12 Y=$02 P=$5d ($01)=$12
Test 03a1: mov x, $ff+y
   Input: A=$12 X=$00 Y=$03 P=$ff ($102)=$12
   Expected output: A=$12 X=$12 Y=$03 P=$7d ($102)=$12
Test 03a2: mov x, $103
   Input: A=$12 X=$00 Y=$56 P=$df ($103)=$12
   Expected output: A=$12 X=$12 Y=$56 P=$5d ($103)=$12
Test 03a3: mov x, #$80
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$80 Y=$56 P=$80
Test 03a4: mov x, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$80 Y=$56 P=$80 ($01)=$80
Test 03a5: mov x, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$80 Y=$56 P=$a0 ($102)=$80
Test 03a6: mov x, $ff+y
   Input: A=$12 X=$34 Y=$02 P=$00 ($01)=$80
   Expected output: A=$12 X=$80 Y=$02 P=$80 ($01)=$80
Test 03a7: mov x, $ff+y
   Input: A=$12 X=$34 Y=$03 P=$20 ($102)=$80
   Expected output: A=$12 X=$80 Y=$03 P=$a0 ($102)=$80
Test 03a8: mov x, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$80
   Expected output: A=$12 X=$80 Y=$56 P=$80 ($103)=$80
Test 03a9: mov x, #$00
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$00 Y=$56 P=$02
Test 03aa: mov x, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$00 Y=$56 P=$02 ($01)=$00
Test 03ab: mov x, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$00 Y=$56 P=$22 ($102)=$00
Test 03ac: mov x, $ff+y
   Input: A=$12 X=$34 Y=$02 P=$00 ($01)=$00
   Expected output: A=$12 X=$00 Y=$02 P=$02 ($01)=$00
Test 03ad: mov x, $ff+y
   Input: A=$12 X=$34 Y=$03 P=$20 ($102)=$00
   Expected output: A=$12 X=$00 Y=$03 P=$22 ($102)=$00
Test 03ae: mov x, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$12 X=$00 Y=$56 P=$02 ($103)=$00
Test 03af: mov y, #$12
   Input: A=$12 X=$34 Y=$00 P=$df
   Expected output: A=$12 X=$34 Y=$12 P=$5d
Test 03b0: mov y, $01
   Input: A=$12 X=$34 Y=$00 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$5d ($01)=$12
Test 03b1: mov y, $02
   Input: A=$12 X=$34 Y=$00 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$7d ($102)=$12
Test 03b2: mov y, $ff+x
   Input: A=$12 X=$02 Y=$00 P=$df ($01)=$12
   Expected output: A=$12 X=$02 Y=$12 P=$5d ($01)=$12
Test 03b3: mov y, $ff+x
   Input: A=$12 X=$03 Y=$00 P=$ff ($102)=$12
   Expected output: A=$12 X=$03 Y=$12 P=$7d ($102)=$12
Test 03b4: mov y, $103
   Input: A=$12 X=$34 Y=$00 P=$df ($103)=$12
   Expected output: A=$12 X=$34 Y=$12 P=$5d ($103)=$12
Test 03b5: mov y, #$80
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$80 P=$80
Test 03b6: mov y, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$80 P=$80 ($01)=$80
Test 03b7: mov y, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$80 P=$a0 ($102)=$80
Test 03b8: mov y, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$02 Y=$80 P=$80 ($01)=$80
Test 03b9: mov y, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$03 Y=$80 P=$a0 ($102)=$80
Test 03ba: mov y, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$80
   Expected output: A=$12 X=$34 Y=$80 P=$80 ($103)=$80
Test 03bb: mov y, #$00
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$00 P=$02
Test 03bc: mov y, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$00 P=$02 ($01)=$00
Test 03bd: mov y, $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$00 P=$22 ($102)=$00
Test 03be: mov y, $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$02 Y=$00 P=$02 ($01)=$00
Test 03bf: mov y, $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$03 Y=$00 P=$22 ($102)=$00
Test 03c0: mov y, $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$00 P=$02 ($103)=$00
Test 03c1: mov $01, x
   Input: A=$12 X=$12 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$12 Y=$56 P=$df ($01)=$12
Test 03c2: mov $02, x
   Input: A=$12 X=$12 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$12 Y=$56 P=$ff ($102)=$12
Test 03c3: mov $ff+y, x
   Input: A=$12 X=$12 Y=$02 P=$df ($01)=$00
   Expected output: A=$12 X=$12 Y=$02 P=$df ($01)=$12
Test 03c4: mov $ff+y, x
   Input: A=$12 X=$12 Y=$03 P=$ff ($102)=$00
   Expected output: A=$12 X=$12 Y=$03 P=$ff ($102)=$12
Test 03c5: mov $103, x
   Input: A=$12 X=$12 Y=$56 P=$df ($103)=$00
   Expected output: A=$12 X=$12 Y=$56 P=$df ($103)=$12
Test 03c6: mov $01, x
   Input: A=$12 X=$00 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$00 Y=$56 P=$00 ($01)=$00
Test 03c7: mov $02, x
   Input: A=$12 X=$00 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$00 Y=$56 P=$20 ($102)=$00
Test 03c8: mov $ff+y, x
   Input: A=$12 X=$00 Y=$02 P=$00 ($01)=$ff
   Expected output: A=$12 X=$00 Y=$02 P=$00 ($01)=$00
Test 03c9: mov $ff+y, x
   Input: A=$12 X=$00 Y=$03 P=$20 ($102)=$ff
   Expected output: A=$12 X=$00 Y=$03 P=$20 ($102)=$00
Test 03ca: mov $103, x
   Input: A=$12 X=$00 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$00 Y=$56 P=$00 ($103)=$00
Test 03cb: mov $01, y
   Input: A=$12 X=$34 Y=$12 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$12 P=$df ($01)=$12
Test 03cc: mov $02, y
   Input: A=$12 X=$34 Y=$12 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$12 P=$ff ($102)=$12
Test 03cd: mov $ff+x, y
   Input: A=$12 X=$02 Y=$12 P=$df ($01)=$00
   Expected output: A=$12 X=$02 Y=$12 P=$df ($01)=$12
Test 03ce: mov $ff+x, y
   Input: A=$12 X=$03 Y=$12 P=$ff ($102)=$00
   Expected output: A=$12 X=$03 Y=$12 P=$ff ($102)=$12
Test 03cf: mov $103, y
   Input: A=$12 X=$34 Y=$12 P=$df ($103)=$00
   Expected output: A=$12 X=$34 Y=$12 P=$df ($103)=$12
Test 03d0: mov $01, y
   Input: A=$12 X=$34 Y=$00 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$00 P=$00 ($01)=$00
Test 03d1: mov $02, y
   Input: A=$12 X=$34 Y=$00 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$00 P=$20 ($102)=$00
Test 03d2: mov $ff+x, y
   Input: A=$12 X=$02 Y=$00 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$00 P=$00 ($01)=$00
Test 03d3: mov $ff+x, y
   Input: A=$12 X=$03 Y=$00 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$00 P=$20 ($102)=$00
Test 03d4: mov $103, y
   Input: A=$12 X=$34 Y=$00 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$00 P=$00 ($103)=$00
Test 03d5: mov $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00 ($02)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$12 ($02)=$12
Test 03d6: mov $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$12 ($103)=$12
Test 03d7: mov $01, #$12
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$12
Test 03d8: mov $02, #$12
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
Test 03d9: mov $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
Test 03da: mov $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00 ($103)=$00
Test 03db: mov $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
Test 03dc: mov $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
Test 03dd: mov a, x
   Input: A=$00 X=$12 Y=$56 P=$df
   Expected output: A=$12 X=$12 Y=$56 P=$5d
Test 03de: mov a, x
   Input: A=$12 X=$00 Y=$56 P=$00
   Expected output: A=$00 X=$00 Y=$56 P=$02
Test 03df: mov a, x
   Input: A=$12 X=$80 Y=$56 P=$00
   Expected output: A=$80 X=$80 Y=$56 P=$80
Test 03e0: mov a, y
   Input: A=$00 X=$34 Y=$12 P=$df
   Expected output: A=$12 X=$34 Y=$12 P=$5d
Test 03e1: mov a, y
   Input: A=$12 X=$34 Y=$00 P=$00
   Expected output: A=$00 X=$34 Y=$00 P=$02
Test 03e2: mov a, y
   Input: A=$12 X=$34 Y=$80 P=$00
   Expected output: A=$80 X=$34 Y=$80 P=$80
Test 03e3: mov x, a
   Input: A=$12 X=$00 Y=$56 P=$df
   Expected output: A=$12 X=$12 Y=$56 P=$5d
Test 03e4: mov x, a
   Input: A=$00 X=$12 Y=$56 P=$00
   Expected output: A=$00 X=$00 Y=$56 P=$02
Test 03e5: mov x, a
   Input: A=$80 X=$12 Y=$56 P=$00
   Expected output: A=$80 X=$80 Y=$56 P=$80
Test 03e6: mov y, a
   Input: A=$12 X=$34 Y=$00 P=$df
   Expected output: A=$12 X=$34 Y=$12 P=$5d
Test 03e7: mov y, a
   Input: A=$00 X=$34 Y=$12 P=$00
   Expected output: A=$00 X=$34 Y=$00 P=$02
Test 03e8: mov y, a
   Input: A=$80 X=$34 Y=$12 P=$00
   Expected output: A=$80 X=$34 Y=$80 P=$80
Test 03e9: mov x, sp
   Input: A=$12 X=$34 Y=$56 P=$7f
   Expected output: A=$12 X=$ef Y=$56 P=$fd
Test 03ea: mov sp, x
   Input: A=$12 X=$00 Y=$56 P=$00
   Expected output: A=$12 X=$00 Y=$56 P=$00 SP=00
   Additional initialization or checks are performed - see assembly
Test 03eb: mov sp, x
   Input: A=$12 X=$80 Y=$56 P=$ff
   Expected output: A=$12 X=$80 Y=$56 P=$ff SP=80
   Additional initialization or checks are performed - see assembly
Test 03ec: mov1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 03ed: mov1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 03ee: mov1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
Test 03ef: mov1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
Test 03f0: mov1 $102.3, C
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$88
Test 03f1: mov1 $102.3, C
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$88
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$88
Test 03f2: mov1 $102.3, C
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$88
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$80
Test 03f3: mov1 $102.3, C
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$80
Test 03f4: movw ya, $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ab ($02)=$12
   Expected output: A=$ab X=$34 Y=$12 P=$5d ($01)=$ab ($02)=$12
Test 03f5: movw ya, $FF
   Input: A=$12 X=$34 Y=$56 P=$ff ($1ff)=$ab ($100)=$12
   Expected output: A=$ab X=$34 Y=$12 P=$7d ($1ff)=$ab ($100)=$12
Test 03f6: movw ya, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$80
   Expected output: A=$00 X=$34 Y=$80 P=$80 ($01)=$00 ($02)=$80
Test 03f7: movw ya, $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$00 ($100)=$80
   Expected output: A=$00 X=$34 Y=$80 P=$a0 ($1ff)=$00 ($100)=$80
Test 03f8: movw ya, $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$00 X=$34 Y=$00 P=$02 ($01)=$00 ($02)=$00
Test 03f9: movw ya, $FF
   Input: A=$12 X=$34 Y=$56 P=$20 ($1ff)=$00 ($100)=$00
   Expected output: A=$00 X=$34 Y=$00 P=$22 ($1ff)=$00 ($100)=$00
Test 03fa: movw $01, ya
   Input: A=$34 X=$34 Y=$12 P=$df ($01)=$00 ($02)=$00
   Expected output: A=$34 X=$34 Y=$12 P=$df ($01)=$34 ($02)=$12
Test 03fb: movw $FF, ya
   Input: A=$34 X=$34 Y=$12 P=$ff ($1ff)=$00 ($100)=$00
   Expected output: A=$34 X=$34 Y=$12 P=$ff ($1ff)=$34 ($100)=$12
Test 03fc: movw $01, ya
   Input: A=$00 X=$34 Y=$00 P=$00 ($01)=$cd ($02)=$ab
   Expected output: A=$00 X=$34 Y=$00 P=$00 ($01)=$00 ($02)=$00
Test 03fd: movw $FF, ya
   Input: A=$00 X=$34 Y=$00 P=$20 ($1ff)=$cd ($100)=$ab
   Expected output: A=$00 X=$34 Y=$00 P=$20 ($1ff)=$00 ($100)=$00
Test 03fe: mul ya
   Input: A=$ab X=$34 Y=$cd P=$ff
   Expected output: A=$ef X=$34 Y=$88 P=$fd
Test 03ff: mul ya
   Input: A=$05 X=$34 Y=$02 P=$00
   Expected output: A=$0a X=$34 Y=$00 P=$02
Test 0400: mul ya
   Input: A=$ff X=$34 Y=$ff P=$00
   Expected output: A=$01 X=$34 Y=$fe P=$80
Test 0401: mul ya
   Input: A=$80 X=$34 Y=$02 P=$00
   Expected output: A=$00 X=$34 Y=$01 P=$00
Test 0402: nop
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00
Test 0403: nop
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff
Test 0404: not1 $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$00
Test 0405: not1 $102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 0406: not1 $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$c0
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$c4
Test 0407: or a, #$19
   Input: A=$88 X=$34 Y=$56 P=$00
   Expected output: A=$99 X=$34 Y=$56 P=$80
Test 0408: or (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$88 ($02)=$19
   Expected output: A=$12 X=$01 Y=$02 P=$80 ($01)=$99 ($02)=$19
Test 0409: or a, (x)
   Input: A=$88 X=$01 Y=$56 P=$00 ($01)=$19
   Expected output: A=$99 X=$01 Y=$56 P=$80 ($01)=$19
Test 040a: or a, [$01]+y
   Input: A=$88 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$19
   Expected output: A=$99 X=$34 Y=$05 P=$80 ($03)=$19 ($01)=$fe ($02)=$ff
Test 040b: or a, [$ff+x]
   Input: A=$88 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$19
   Expected output: A=$99 X=$02 Y=$56 P=$80 ($102)=$19 ($01)=$02 ($02)=$01
Test 040c: or a, $01
   Input: A=$88 X=$34 Y=$56 P=$00 ($01)=$19
   Expected output: A=$99 X=$34 Y=$56 P=$80 ($01)=$19
Test 040d: or a, $02
   Input: A=$88 X=$34 Y=$56 P=$20 ($102)=$19
   Expected output: A=$99 X=$34 Y=$56 P=$a0 ($102)=$19
Test 040e: or a, $ff+x
   Input: A=$88 X=$02 Y=$56 P=$00 ($01)=$19
   Expected output: A=$99 X=$02 Y=$56 P=$80 ($01)=$19
Test 040f: or a, $ff+x
   Input: A=$88 X=$03 Y=$56 P=$20 ($102)=$19
   Expected output: A=$99 X=$03 Y=$56 P=$a0 ($102)=$19
Test 0410: or a, $103
   Input: A=$88 X=$34 Y=$56 P=$00 ($103)=$19
   Expected output: A=$99 X=$34 Y=$56 P=$80 ($103)=$19
Test 0411: or a, $ffff+x
   Input: A=$88 X=$05 Y=$56 P=$00 ($04)=$19
   Expected output: A=$99 X=$05 Y=$56 P=$80 ($04)=$19
Test 0412: or a, $103+y
   Input: A=$88 X=$34 Y=$01 P=$00 ($104)=$19
   Expected output: A=$99 X=$34 Y=$01 P=$80 ($104)=$19
Test 0413: or $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$88 ($02)=$19
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$99 ($02)=$19
Test 0414: or $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$88 ($103)=$19
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$99 ($103)=$19
Test 0415: or $01, #$19
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$88
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$99
Test 0416: or $02, #$19
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$88
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$99
Test 0417: or a, #$00
   Input: A=$ff X=$34 Y=$56 P=$df
   Expected output: A=$ff X=$34 Y=$56 P=$dd
Test 0418: or (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$df ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$dd ($01)=$ff ($02)=$00
Test 0419: or a, (x)
   Input: A=$ff X=$01 Y=$56 P=$df ($01)=$00
   Expected output: A=$ff X=$01 Y=$56 P=$dd ($01)=$00
Test 041a: or a, [$01]+y
   Input: A=$ff X=$34 Y=$05 P=$df ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$ff X=$34 Y=$05 P=$dd ($03)=$00 ($01)=$fe ($02)=$ff
Test 041b: or a, [$ff+x]
   Input: A=$ff X=$02 Y=$56 P=$df ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$dd ($102)=$00 ($01)=$02 ($02)=$01
Test 041c: or a, $01
   Input: A=$ff X=$34 Y=$56 P=$df ($01)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$dd ($01)=$00
Test 041d: or a, $02
   Input: A=$ff X=$34 Y=$56 P=$ff ($102)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$fd ($102)=$00
Test 041e: or a, $ff+x
   Input: A=$ff X=$02 Y=$56 P=$df ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$dd ($01)=$00
Test 041f: or a, $ff+x
   Input: A=$ff X=$03 Y=$56 P=$ff ($102)=$00
   Expected output: A=$ff X=$03 Y=$56 P=$fd ($102)=$00
Test 0420: or a, $103
   Input: A=$ff X=$34 Y=$56 P=$df ($103)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$dd ($103)=$00
Test 0421: or a, $ffff+x
   Input: A=$ff X=$05 Y=$56 P=$df ($04)=$00
   Expected output: A=$ff X=$05 Y=$56 P=$dd ($04)=$00
Test 0422: or a, $103+y
   Input: A=$ff X=$34 Y=$01 P=$df ($104)=$00
   Expected output: A=$ff X=$34 Y=$01 P=$dd ($104)=$00
Test 0423: or $01, $02
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$ff ($02)=$00
Test 0424: or $02, $03
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$ff ($103)=$00
Test 0425: or $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$dd ($01)=$ff
Test 0426: or $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$fd ($102)=$ff
Test 0427: or a, #$00
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 0428: or (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$02 ($01)=$00 ($02)=$00
Test 0429: or a, (x)
   Input: A=$00 X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$01 Y=$56 P=$02 ($01)=$00
Test 042a: or a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$00 X=$34 Y=$05 P=$02 ($03)=$00 ($01)=$fe ($02)=$ff
Test 042b: or a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($102)=$00 ($01)=$02 ($02)=$01
Test 042c: or a, $01
   Input: A=$00 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($01)=$00
Test 042d: or a, $02
   Input: A=$00 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$22 ($102)=$00
Test 042e: or a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$00 X=$02 Y=$56 P=$02 ($01)=$00
Test 042f: or a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$00 X=$03 Y=$56 P=$22 ($102)=$00
Test 0430: or a, $103
   Input: A=$00 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02 ($103)=$00
Test 0431: or a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$00 X=$05 Y=$56 P=$02 ($04)=$00
Test 0432: or a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$00 X=$34 Y=$01 P=$02 ($104)=$00
Test 0433: or $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00 ($02)=$00
Test 0434: or $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00 ($103)=$00
Test 0435: or $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($01)=$00
Test 0436: or $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$22 ($102)=$00
Test 0437: or1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 0438: or1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 0439: or1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 043a: or1 C, $102.2
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
Test 043b: or1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($102)=$04
Test 043c: or1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($102)=$04
Test 043d: or1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 043e: or1 C, /$102.2
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$fb
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$fb
Test 043f: pop a
   Input: A=$12 X=$34 Y=$56 P=$00 ($1f0)=$98
   Expected output: A=$98 X=$34 Y=$56 P=$00 SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0440: pop a
   Input: A=$12 X=$34 Y=$56 P=$ff ($1f0)=$00
   Expected output: A=$00 X=$34 Y=$56 P=$ff SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0441: pop x
   Input: A=$12 X=$34 Y=$56 P=$00 ($1f0)=$98
   Expected output: A=$12 X=$98 Y=$56 P=$00 SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0442: pop x
   Input: A=$12 X=$34 Y=$56 P=$ff ($1f0)=$00
   Expected output: A=$12 X=$00 Y=$56 P=$ff SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0443: pop y
   Input: A=$12 X=$34 Y=$56 P=$00 ($1f0)=$98
   Expected output: A=$12 X=$34 Y=$98 P=$00 SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0444: pop y
   Input: A=$12 X=$34 Y=$56 P=$ff ($1f0)=$00
   Expected output: A=$12 X=$34 Y=$00 P=$ff SP=f0 
   Additional initialization or checks are performed - see assembly
Test 0445: pop psw
   Input: A=$12 X=$34 Y=$56 P=$ff ($1f0)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 
   Additional initialization or checks are performed - see assembly
Test 0446: pop psw
   Input: A=$12 X=$34 Y=$56 P=$00 ($1f0)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff 
   Additional initialization or checks are performed - see assembly
Test 0447: push a
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 SP=ee ($1ef)=$12
   Additional initialization or checks are performed - see assembly
Test 0448: push a
   Input: A=$00 X=$34 Y=$56 P=$ff
   Expected output: A=$00 X=$34 Y=$56 P=$ff SP=ee ($1ef)=$00
   Additional initialization or checks are performed - see assembly
Test 0449: push x
   Input: A=$12 X=$12 Y=$56 P=$00
   Expected output: A=$12 X=$12 Y=$56 P=$00 SP=ee ($1ef)=$12
   Additional initialization or checks are performed - see assembly
Test 044a: push x
   Input: A=$12 X=$00 Y=$56 P=$ff
   Expected output: A=$12 X=$00 Y=$56 P=$ff SP=ee ($1ef)=$00
   Additional initialization or checks are performed - see assembly
Test 044b: push y
   Input: A=$12 X=$34 Y=$12 P=$00
   Expected output: A=$12 X=$34 Y=$12 P=$00 SP=ee ($1ef)=$12
   Additional initialization or checks are performed - see assembly
Test 044c: push y
   Input: A=$12 X=$34 Y=$00 P=$ff
   Expected output: A=$12 X=$34 Y=$00 P=$ff SP=ee ($1ef)=$00
   Additional initialization or checks are performed - see assembly
Test 044d: push psw
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff SP=ee ($1ef)=$ff
   Additional initialization or checks are performed - see assembly
Test 044e: push psw
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 SP=ee ($1ef)=$00
   Additional initialization or checks are performed - see assembly
Test 044f: ret
   Input: A=$12 X=$34 Y=$56 P=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 SP=ef
   Additional initialization or checks are performed - see assembly
Test 0450: ret
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff SP=ef
   Additional initialization or checks are performed - see assembly
Test 0451: ret1
   Input: A=$12 X=$34 Y=$56 P=$ff ($1ed)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 SP=ef 
   Additional initialization or checks are performed - see assembly
Test 0452: ret1
   Input: A=$12 X=$34 Y=$56 P=$00 ($1ed)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff SP=ef 
   Additional initialization or checks are performed - see assembly
Test 0453: rol a
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$fe X=$34 Y=$56 P=$81
Test 0454: rol $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$fe
Test 0455: rol $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$fe
Test 0456: rol $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$81 ($01)=$fe
Test 0457: rol $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$a1 ($102)=$fe
Test 0458: rol $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($103)=$fe
Test 0459: rol a
   Input: A=$ff X=$34 Y=$56 P=$01
   Expected output: A=$ff X=$34 Y=$56 P=$81
Test 045a: rol $01
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$ff
Test 045b: rol $02
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$ff
Test 045c: rol $ff+x
   Input: A=$12 X=$02 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$81 ($01)=$ff
Test 045d: rol $ff+x
   Input: A=$12 X=$03 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$a1 ($102)=$ff
Test 045e: rol $103
   Input: A=$12 X=$34 Y=$56 P=$01 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($103)=$ff
Test 045f: rol a
   Input: A=$80 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$03
Test 0460: rol $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$00
Test 0461: rol $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$00
Test 0462: rol $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$80
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($01)=$00
Test 0463: rol $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$80
   Expected output: A=$12 X=$03 Y=$56 P=$23 ($102)=$00
Test 0464: rol $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$80
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($103)=$00
Test 0465: rol a
   Input: A=$03 X=$34 Y=$56 P=$df
   Expected output: A=$07 X=$34 Y=$56 P=$5c
Test 0466: rol $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($01)=$07
Test 0467: rol $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$7c ($102)=$07
Test 0468: rol $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$03
   Expected output: A=$12 X=$02 Y=$56 P=$5c ($01)=$07
Test 0469: rol $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$03
   Expected output: A=$12 X=$03 Y=$56 P=$7c ($102)=$07
Test 046a: rol $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$03
   Expected output: A=$12 X=$34 Y=$56 P=$5c ($103)=$07
Test 046b: ror a
   Input: A=$ff X=$34 Y=$56 P=$00
   Expected output: A=$7f X=$34 Y=$56 P=$01
Test 046c: ror $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($01)=$7f
Test 046d: ror $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$21 ($102)=$7f
Test 046e: ror $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$01 ($01)=$7f
Test 046f: ror $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$21 ($102)=$7f
Test 0470: ror $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$01 ($103)=$7f
Test 0471: ror a
   Input: A=$ff X=$34 Y=$56 P=$01
   Expected output: A=$ff X=$34 Y=$56 P=$81
Test 0472: ror $01
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($01)=$ff
Test 0473: ror $02
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$a1 ($102)=$ff
Test 0474: ror $ff+x
   Input: A=$12 X=$02 Y=$56 P=$01 ($01)=$ff
   Expected output: A=$12 X=$02 Y=$56 P=$81 ($01)=$ff
Test 0475: ror $ff+x
   Input: A=$12 X=$03 Y=$56 P=$21 ($102)=$ff
   Expected output: A=$12 X=$03 Y=$56 P=$a1 ($102)=$ff
Test 0476: ror $103
   Input: A=$12 X=$34 Y=$56 P=$01 ($103)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$81 ($103)=$ff
Test 0477: ror a
   Input: A=$01 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$03
Test 0478: ror $01
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($01)=$00
Test 0479: ror $02
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$23 ($102)=$00
Test 047a: ror $ff+x
   Input: A=$12 X=$02 Y=$56 P=$00 ($01)=$01
   Expected output: A=$12 X=$02 Y=$56 P=$03 ($01)=$00
Test 047b: ror $ff+x
   Input: A=$12 X=$03 Y=$56 P=$20 ($102)=$01
   Expected output: A=$12 X=$03 Y=$56 P=$23 ($102)=$00
Test 047c: ror $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$01
   Expected output: A=$12 X=$34 Y=$56 P=$03 ($103)=$00
Test 047d: ror a
   Input: A=$06 X=$34 Y=$56 P=$df
   Expected output: A=$83 X=$34 Y=$56 P=$dc
Test 047e: ror $01
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($01)=$83
Test 047f: ror $02
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$fc ($102)=$83
Test 0480: ror $ff+x
   Input: A=$12 X=$02 Y=$56 P=$df ($01)=$06
   Expected output: A=$12 X=$02 Y=$56 P=$dc ($01)=$83
Test 0481: ror $ff+x
   Input: A=$12 X=$03 Y=$56 P=$ff ($102)=$06
   Expected output: A=$12 X=$03 Y=$56 P=$fc ($102)=$83
Test 0482: ror $103
   Input: A=$12 X=$34 Y=$56 P=$df ($103)=$06
   Expected output: A=$12 X=$34 Y=$56 P=$dc ($103)=$83
Test 0483: sbc a, #$12
   Input: A=$46 X=$34 Y=$56 P=$01
   Expected output: A=$34 X=$34 Y=$56 P=$09
Test 0484: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$01 ($01)=$46 ($02)=$12
   Expected output: A=$12 X=$01 Y=$02 P=$09 ($01)=$34 ($02)=$12
Test 0485: sbc a, (x)
   Input: A=$46 X=$01 Y=$56 P=$01 ($01)=$12
   Expected output: A=$34 X=$01 Y=$56 P=$09 ($01)=$12
Test 0486: sbc a, [$01]+y
   Input: A=$46 X=$34 Y=$05 P=$01 ($01)=$fe ($02)=$ff ($03)=$12
   Expected output: A=$34 X=$34 Y=$05 P=$09 ($03)=$12 ($01)=$fe ($02)=$ff
Test 0487: sbc a, [$ff+x]
   Input: A=$46 X=$02 Y=$56 P=$01 ($01)=$02 ($02)=$01 ($102)=$12
   Expected output: A=$34 X=$02 Y=$56 P=$09 ($102)=$12 ($01)=$02 ($02)=$01
Test 0488: sbc a, $01
   Input: A=$46 X=$34 Y=$56 P=$01 ($01)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$09 ($01)=$12
Test 0489: sbc a, $02
   Input: A=$46 X=$34 Y=$56 P=$21 ($102)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$29 ($102)=$12
Test 048a: sbc a, $ff+x
   Input: A=$46 X=$02 Y=$56 P=$01 ($01)=$12
   Expected output: A=$34 X=$02 Y=$56 P=$09 ($01)=$12
Test 048b: sbc a, $ff+x
   Input: A=$46 X=$03 Y=$56 P=$21 ($102)=$12
   Expected output: A=$34 X=$03 Y=$56 P=$29 ($102)=$12
Test 048c: sbc a, $103
   Input: A=$46 X=$34 Y=$56 P=$01 ($103)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$09 ($103)=$12
Test 048d: sbc a, $ffff+x
   Input: A=$46 X=$05 Y=$56 P=$01 ($04)=$12
   Expected output: A=$34 X=$05 Y=$56 P=$09 ($04)=$12
Test 048e: sbc a, $103+y
   Input: A=$46 X=$34 Y=$01 P=$01 ($104)=$12
   Expected output: A=$34 X=$34 Y=$01 P=$09 ($104)=$12
Test 048f: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$46 ($02)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$09 ($01)=$34 ($02)=$12
Test 0490: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$46 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$29 ($102)=$34 ($103)=$12
Test 0491: sbc $01, #$12
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$46
   Expected output: A=$12 X=$34 Y=$56 P=$09 ($01)=$34
Test 0492: sbc $02, #$12
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$46
   Expected output: A=$12 X=$34 Y=$56 P=$29 ($102)=$34
Test 0493: sbc a, #$12
   Input: A=$47 X=$34 Y=$56 P=$de
   Expected output: A=$34 X=$34 Y=$56 P=$1d
Test 0494: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$de ($01)=$47 ($02)=$12
   Expected output: A=$12 X=$01 Y=$02 P=$1d ($01)=$34 ($02)=$12
Test 0495: sbc a, (x)
   Input: A=$47 X=$01 Y=$56 P=$de ($01)=$12
   Expected output: A=$34 X=$01 Y=$56 P=$1d ($01)=$12
Test 0496: sbc a, [$01]+y
   Input: A=$47 X=$34 Y=$05 P=$de ($01)=$fe ($02)=$ff ($03)=$12
   Expected output: A=$34 X=$34 Y=$05 P=$1d ($03)=$12 ($01)=$fe ($02)=$ff
Test 0497: sbc a, [$ff+x]
   Input: A=$47 X=$02 Y=$56 P=$de ($01)=$02 ($02)=$01 ($102)=$12
   Expected output: A=$34 X=$02 Y=$56 P=$1d ($102)=$12 ($01)=$02 ($02)=$01
Test 0498: sbc a, $01
   Input: A=$47 X=$34 Y=$56 P=$de ($01)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$1d ($01)=$12
Test 0499: sbc a, $02
   Input: A=$47 X=$34 Y=$56 P=$fe ($102)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$3d ($102)=$12
Test 049a: sbc a, $ff+x
   Input: A=$47 X=$02 Y=$56 P=$de ($01)=$12
   Expected output: A=$34 X=$02 Y=$56 P=$1d ($01)=$12
Test 049b: sbc a, $ff+x
   Input: A=$47 X=$03 Y=$56 P=$fe ($102)=$12
   Expected output: A=$34 X=$03 Y=$56 P=$3d ($102)=$12
Test 049c: sbc a, $103
   Input: A=$47 X=$34 Y=$56 P=$de ($103)=$12
   Expected output: A=$34 X=$34 Y=$56 P=$1d ($103)=$12
Test 049d: sbc a, $ffff+x
   Input: A=$47 X=$05 Y=$56 P=$de ($04)=$12
   Expected output: A=$34 X=$05 Y=$56 P=$1d ($04)=$12
Test 049e: sbc a, $103+y
   Input: A=$47 X=$34 Y=$01 P=$de ($104)=$12
   Expected output: A=$34 X=$34 Y=$01 P=$1d ($104)=$12
Test 049f: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$de ($01)=$47 ($02)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$1d ($01)=$34 ($02)=$12
Test 04a0: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$47 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$3d ($102)=$34 ($103)=$12
Test 04a1: sbc $01, #$12
   Input: A=$12 X=$34 Y=$56 P=$de ($01)=$47
   Expected output: A=$12 X=$34 Y=$56 P=$1d ($01)=$34
Test 04a2: sbc $02, #$12
   Input: A=$12 X=$34 Y=$56 P=$fe ($102)=$47
   Expected output: A=$12 X=$34 Y=$56 P=$3d ($102)=$34
Test 04a3: sbc a, #$ca
   Input: A=$cb X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$0b
Test 04a4: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$cb ($02)=$ca
   Expected output: A=$12 X=$01 Y=$02 P=$0b ($01)=$00 ($02)=$ca
Test 04a5: sbc a, (x)
   Input: A=$cb X=$01 Y=$56 P=$00 ($01)=$ca
   Expected output: A=$00 X=$01 Y=$56 P=$0b ($01)=$ca
Test 04a6: sbc a, [$01]+y
   Input: A=$cb X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$ca
   Expected output: A=$00 X=$34 Y=$05 P=$0b ($03)=$ca ($01)=$fe ($02)=$ff
Test 04a7: sbc a, [$ff+x]
   Input: A=$cb X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$ca
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($102)=$ca ($01)=$02 ($02)=$01
Test 04a8: sbc a, $01
   Input: A=$cb X=$34 Y=$56 P=$00 ($01)=$ca
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($01)=$ca
Test 04a9: sbc a, $02
   Input: A=$cb X=$34 Y=$56 P=$20 ($102)=$ca
   Expected output: A=$00 X=$34 Y=$56 P=$2b ($102)=$ca
Test 04aa: sbc a, $ff+x
   Input: A=$cb X=$02 Y=$56 P=$00 ($01)=$ca
   Expected output: A=$00 X=$02 Y=$56 P=$0b ($01)=$ca
Test 04ab: sbc a, $ff+x
   Input: A=$cb X=$03 Y=$56 P=$20 ($102)=$ca
   Expected output: A=$00 X=$03 Y=$56 P=$2b ($102)=$ca
Test 04ac: sbc a, $103
   Input: A=$cb X=$34 Y=$56 P=$00 ($103)=$ca
   Expected output: A=$00 X=$34 Y=$56 P=$0b ($103)=$ca
Test 04ad: sbc a, $ffff+x
   Input: A=$cb X=$05 Y=$56 P=$00 ($04)=$ca
   Expected output: A=$00 X=$05 Y=$56 P=$0b ($04)=$ca
Test 04ae: sbc a, $103+y
   Input: A=$cb X=$34 Y=$01 P=$00 ($104)=$ca
   Expected output: A=$00 X=$34 Y=$01 P=$0b ($104)=$ca
Test 04af: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$cb ($02)=$ca
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00 ($02)=$ca
Test 04b0: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$cb ($103)=$ca
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00 ($103)=$ca
Test 04b1: sbc $01, #$ca
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$cb
   Expected output: A=$12 X=$34 Y=$56 P=$0b ($01)=$00
Test 04b2: sbc $02, #$ca
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$cb
   Expected output: A=$12 X=$34 Y=$56 P=$2b ($102)=$00
Test 04b3: sbc a, #$21
   Input: A=$90 X=$34 Y=$56 P=$01
   Expected output: A=$6f X=$34 Y=$56 P=$41
Test 04b4: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$01 ($01)=$90 ($02)=$21
   Expected output: A=$12 X=$01 Y=$02 P=$41 ($01)=$6f ($02)=$21
Test 04b5: sbc a, (x)
   Input: A=$90 X=$01 Y=$56 P=$01 ($01)=$21
   Expected output: A=$6f X=$01 Y=$56 P=$41 ($01)=$21
Test 04b6: sbc a, [$01]+y
   Input: A=$90 X=$34 Y=$05 P=$01 ($01)=$fe ($02)=$ff ($03)=$21
   Expected output: A=$6f X=$34 Y=$05 P=$41 ($03)=$21 ($01)=$fe ($02)=$ff
Test 04b7: sbc a, [$ff+x]
   Input: A=$90 X=$02 Y=$56 P=$01 ($01)=$02 ($02)=$01 ($102)=$21
   Expected output: A=$6f X=$02 Y=$56 P=$41 ($102)=$21 ($01)=$02 ($02)=$01
Test 04b8: sbc a, $01
   Input: A=$90 X=$34 Y=$56 P=$01 ($01)=$21
   Expected output: A=$6f X=$34 Y=$56 P=$41 ($01)=$21
Test 04b9: sbc a, $02
   Input: A=$90 X=$34 Y=$56 P=$21 ($102)=$21
   Expected output: A=$6f X=$34 Y=$56 P=$61 ($102)=$21
Test 04ba: sbc a, $ff+x
   Input: A=$90 X=$02 Y=$56 P=$01 ($01)=$21
   Expected output: A=$6f X=$02 Y=$56 P=$41 ($01)=$21
Test 04bb: sbc a, $ff+x
   Input: A=$90 X=$03 Y=$56 P=$21 ($102)=$21
   Expected output: A=$6f X=$03 Y=$56 P=$61 ($102)=$21
Test 04bc: sbc a, $103
   Input: A=$90 X=$34 Y=$56 P=$01 ($103)=$21
   Expected output: A=$6f X=$34 Y=$56 P=$41 ($103)=$21
Test 04bd: sbc a, $ffff+x
   Input: A=$90 X=$05 Y=$56 P=$01 ($04)=$21
   Expected output: A=$6f X=$05 Y=$56 P=$41 ($04)=$21
Test 04be: sbc a, $103+y
   Input: A=$90 X=$34 Y=$01 P=$01 ($104)=$21
   Expected output: A=$6f X=$34 Y=$01 P=$41 ($104)=$21
Test 04bf: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$90 ($02)=$21
   Expected output: A=$12 X=$34 Y=$56 P=$41 ($01)=$6f ($02)=$21
Test 04c0: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$90 ($103)=$21
   Expected output: A=$12 X=$34 Y=$56 P=$61 ($102)=$6f ($103)=$21
Test 04c1: sbc $01, #$21
   Input: A=$12 X=$34 Y=$56 P=$01 ($01)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$41 ($01)=$6f
Test 04c2: sbc $02, #$21
   Input: A=$12 X=$34 Y=$56 P=$21 ($102)=$90
   Expected output: A=$12 X=$34 Y=$56 P=$61 ($102)=$6f
Test 04c3: sbc a, #$e0
   Input: A=$70 X=$34 Y=$56 P=$08
   Expected output: A=$8f X=$34 Y=$56 P=$c0
Test 04c4: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$08 ($01)=$70 ($02)=$e0
   Expected output: A=$12 X=$01 Y=$02 P=$c0 ($01)=$8f ($02)=$e0
Test 04c5: sbc a, (x)
   Input: A=$70 X=$01 Y=$56 P=$08 ($01)=$e0
   Expected output: A=$8f X=$01 Y=$56 P=$c0 ($01)=$e0
Test 04c6: sbc a, [$01]+y
   Input: A=$70 X=$34 Y=$05 P=$08 ($01)=$fe ($02)=$ff ($03)=$e0
   Expected output: A=$8f X=$34 Y=$05 P=$c0 ($03)=$e0 ($01)=$fe ($02)=$ff
Test 04c7: sbc a, [$ff+x]
   Input: A=$70 X=$02 Y=$56 P=$08 ($01)=$02 ($02)=$01 ($102)=$e0
   Expected output: A=$8f X=$02 Y=$56 P=$c0 ($102)=$e0 ($01)=$02 ($02)=$01
Test 04c8: sbc a, $01
   Input: A=$70 X=$34 Y=$56 P=$08 ($01)=$e0
   Expected output: A=$8f X=$34 Y=$56 P=$c0 ($01)=$e0
Test 04c9: sbc a, $02
   Input: A=$70 X=$34 Y=$56 P=$28 ($102)=$e0
   Expected output: A=$8f X=$34 Y=$56 P=$e0 ($102)=$e0
Test 04ca: sbc a, $ff+x
   Input: A=$70 X=$02 Y=$56 P=$08 ($01)=$e0
   Expected output: A=$8f X=$02 Y=$56 P=$c0 ($01)=$e0
Test 04cb: sbc a, $ff+x
   Input: A=$70 X=$03 Y=$56 P=$28 ($102)=$e0
   Expected output: A=$8f X=$03 Y=$56 P=$e0 ($102)=$e0
Test 04cc: sbc a, $103
   Input: A=$70 X=$34 Y=$56 P=$08 ($103)=$e0
   Expected output: A=$8f X=$34 Y=$56 P=$c0 ($103)=$e0
Test 04cd: sbc a, $ffff+x
   Input: A=$70 X=$05 Y=$56 P=$08 ($04)=$e0
   Expected output: A=$8f X=$05 Y=$56 P=$c0 ($04)=$e0
Test 04ce: sbc a, $103+y
   Input: A=$70 X=$34 Y=$01 P=$08 ($104)=$e0
   Expected output: A=$8f X=$34 Y=$01 P=$c0 ($104)=$e0
Test 04cf: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$08 ($01)=$70 ($02)=$e0
   Expected output: A=$12 X=$34 Y=$56 P=$c0 ($01)=$8f ($02)=$e0
Test 04d0: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$28 ($102)=$70 ($103)=$e0
   Expected output: A=$12 X=$34 Y=$56 P=$e0 ($102)=$8f ($103)=$e0
Test 04d1: sbc $01, #$e0
   Input: A=$12 X=$34 Y=$56 P=$08 ($01)=$70
   Expected output: A=$12 X=$34 Y=$56 P=$c0 ($01)=$8f
Test 04d2: sbc $02, #$e0
   Input: A=$12 X=$34 Y=$56 P=$28 ($102)=$70
   Expected output: A=$12 X=$34 Y=$56 P=$e0 ($102)=$8f
Test 04d3: sbc a, #$00
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80
Test 04d4: sbc (x), (y)
   Input: A=$12 X=$01 Y=$02 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$01 Y=$02 P=$80 ($01)=$ff ($02)=$00
Test 04d5: sbc a, (x)
   Input: A=$00 X=$01 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$01 Y=$56 P=$80 ($01)=$00
Test 04d6: sbc a, [$01]+y
   Input: A=$00 X=$34 Y=$05 P=$00 ($01)=$fe ($02)=$ff ($03)=$00
   Expected output: A=$ff X=$34 Y=$05 P=$80 ($03)=$00 ($01)=$fe ($02)=$ff
Test 04d7: sbc a, [$ff+x]
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$02 ($02)=$01 ($102)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($102)=$00 ($01)=$02 ($02)=$01
Test 04d8: sbc a, $01
   Input: A=$00 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($01)=$00
Test 04d9: sbc a, $02
   Input: A=$00 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$a0 ($102)=$00
Test 04da: sbc a, $ff+x
   Input: A=$00 X=$02 Y=$56 P=$00 ($01)=$00
   Expected output: A=$ff X=$02 Y=$56 P=$80 ($01)=$00
Test 04db: sbc a, $ff+x
   Input: A=$00 X=$03 Y=$56 P=$20 ($102)=$00
   Expected output: A=$ff X=$03 Y=$56 P=$a0 ($102)=$00
Test 04dc: sbc a, $103
   Input: A=$00 X=$34 Y=$56 P=$00 ($103)=$00
   Expected output: A=$ff X=$34 Y=$56 P=$80 ($103)=$00
Test 04dd: sbc a, $ffff+x
   Input: A=$00 X=$05 Y=$56 P=$00 ($04)=$00
   Expected output: A=$ff X=$05 Y=$56 P=$80 ($04)=$00
Test 04de: sbc a, $103+y
   Input: A=$00 X=$34 Y=$01 P=$00 ($104)=$00
   Expected output: A=$ff X=$34 Y=$01 P=$80 ($104)=$00
Test 04df: sbc $01, $02
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00 ($02)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff ($02)=$00
Test 04e0: sbc $02, $03
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00 ($103)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff ($103)=$00
Test 04e1: sbc $01, #$00
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$80 ($01)=$ff
Test 04e2: sbc $02, #$00
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$a0 ($102)=$ff
Test 04e3: set1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 04e4: set1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 04e5: set1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$01
Test 04e6: set1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$01
Test 04e7: set1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 04e8: set1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 04e9: set1 $01.0
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$13
Test 04ea: set1 $02.0
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$13
Test 04eb: set1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 04ec: set1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 04ed: set1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$02
Test 04ee: set1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$02
Test 04ef: set1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 04f0: set1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 04f1: set1 $01.1
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$12
Test 04f2: set1 $02.1
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
Test 04f3: set1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 04f4: set1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 04f5: set1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$04
Test 04f6: set1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$04
Test 04f7: set1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 04f8: set1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 04f9: set1 $01.2
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$16
Test 04fa: set1 $02.2
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$16
Test 04fb: set1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 04fc: set1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 04fd: set1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$08
Test 04fe: set1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$08
Test 04ff: set1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 0500: set1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 0501: set1 $01.3
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$1a
Test 0502: set1 $02.3
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$1a
Test 0503: set1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 0504: set1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 0505: set1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$10
Test 0506: set1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$10
Test 0507: set1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 0508: set1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 0509: set1 $01.4
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$12
Test 050a: set1 $02.4
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
Test 050b: set1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 050c: set1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 050d: set1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$20
Test 050e: set1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$20
Test 050f: set1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 0510: set1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 0511: set1 $01.5
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$32
Test 0512: set1 $02.5
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$32
Test 0513: set1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 0514: set1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 0515: set1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$40
Test 0516: set1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$40
Test 0517: set1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 0518: set1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 0519: set1 $01.6
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$52
Test 051a: set1 $02.6
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$52
Test 051b: set1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$ff
Test 051c: set1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$ff
Test 051d: set1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$00 ($01)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$00 ($01)=$80
Test 051e: set1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$20 ($102)=$00
   Expected output: A=$12 X=$34 Y=$56 P=$20 ($102)=$80
Test 051f: set1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$ff
Test 0520: set1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$ff
Test 0521: set1 $01.7
   Input: A=$12 X=$34 Y=$56 P=$df ($01)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$df ($01)=$92
Test 0522: set1 $02.7
   Input: A=$12 X=$34 Y=$56 P=$ff ($102)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$ff ($102)=$92
Test 0523: subw ya, $01
   Input: A=$12 X=$34 Y=$34 P=$00 ($01)=$ff ($02)=$00
   Expected output: A=$13 X=$34 Y=$33 P=$09 ($01)=$ff ($02)=$00
Test 0524: subw ya, $FF
   Input: A=$12 X=$34 Y=$34 P=$20 ($1ff)=$ff ($100)=$00
   Expected output: A=$13 X=$34 Y=$33 P=$29 ($1ff)=$ff ($100)=$00
Test 0525: subw ya, $01
   Input: A=$12 X=$34 Y=$34 P=$df ($01)=$ff ($02)=$00
   Expected output: A=$13 X=$34 Y=$33 P=$1d ($01)=$ff ($02)=$00
Test 0526: subw ya, $FF
   Input: A=$12 X=$34 Y=$34 P=$ff ($1ff)=$ff ($100)=$00
   Expected output: A=$13 X=$34 Y=$33 P=$3d ($1ff)=$ff ($100)=$00
Test 0527: subw ya, $01
   Input: A=$00 X=$34 Y=$00 P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$ff X=$34 Y=$ff P=$80 ($01)=$01 ($02)=$00
Test 0528: subw ya, $FF
   Input: A=$00 X=$34 Y=$00 P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$ff X=$34 Y=$ff P=$a0 ($1ff)=$01 ($100)=$00
Test 0529: subw ya, $01
   Input: A=$cd X=$34 Y=$ab P=$00 ($01)=$cd ($02)=$ab
   Expected output: A=$00 X=$34 Y=$00 P=$0b ($01)=$cd ($02)=$ab
Test 052a: subw ya, $FF
   Input: A=$cd X=$34 Y=$ab P=$20 ($1ff)=$cd ($100)=$ab
   Expected output: A=$00 X=$34 Y=$00 P=$2b ($1ff)=$cd ($100)=$ab
Test 052b: subw ya, $01
   Input: A=$34 X=$34 Y=$12 P=$08 ($01)=$00 ($02)=$03
   Expected output: A=$34 X=$34 Y=$0f P=$01 ($01)=$00 ($02)=$03
Test 052c: subw ya, $FF
   Input: A=$34 X=$34 Y=$12 P=$28 ($1ff)=$00 ($100)=$03
   Expected output: A=$34 X=$34 Y=$0f P=$21 ($1ff)=$00 ($100)=$03
Test 052d: subw ya, $01
   Input: A=$34 X=$34 Y=$12 P=$00 ($01)=$34 ($02)=$00
   Expected output: A=$00 X=$34 Y=$12 P=$09 ($01)=$34 ($02)=$00
Test 052e: subw ya, $FF
   Input: A=$34 X=$34 Y=$12 P=$20 ($1ff)=$34 ($100)=$00
   Expected output: A=$00 X=$34 Y=$12 P=$29 ($1ff)=$34 ($100)=$00
Test 052f: subw ya, $01
   Input: A=$34 X=$34 Y=$12 P=$00 ($01)=$00 ($02)=$12
   Expected output: A=$34 X=$34 Y=$00 P=$09 ($01)=$00 ($02)=$12
Test 0530: subw ya, $FF
   Input: A=$34 X=$34 Y=$12 P=$20 ($1ff)=$00 ($100)=$12
   Expected output: A=$34 X=$34 Y=$00 P=$29 ($1ff)=$00 ($100)=$12
Test 0531: subw ya, $01
   Input: A=$00 X=$34 Y=$80 P=$00 ($01)=$01 ($02)=$00
   Expected output: A=$ff X=$34 Y=$7f P=$41 ($01)=$01 ($02)=$00
Test 0532: subw ya, $FF
   Input: A=$00 X=$34 Y=$80 P=$20 ($1ff)=$01 ($100)=$00
   Expected output: A=$ff X=$34 Y=$7f P=$61 ($1ff)=$01 ($100)=$00
Test 0533: subw ya, $01
   Input: A=$23 X=$34 Y=$71 P=$00 ($01)=$ed ($02)=$ef
   Expected output: A=$36 X=$34 Y=$81 P=$c0 ($01)=$ed ($02)=$ef
Test 0534: subw ya, $FF
   Input: A=$23 X=$34 Y=$71 P=$20 ($1ff)=$ed ($100)=$ef
   Expected output: A=$36 X=$34 Y=$81 P=$e0 ($1ff)=$ed ($100)=$ef
Test 0535: tclr1 $103
   Input: A=$09 X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$09 X=$34 Y=$56 P=$00 ($103)=$f6
Test 0536: tclr1 $103
   Input: A=$15 X=$34 Y=$56 P=$ff ($103)=$05
   Expected output: A=$15 X=$34 Y=$56 P=$7d ($103)=$00
Test 0537: tclr1 $103
   Input: A=$12 X=$34 Y=$56 P=$00 ($103)=$12
   Expected output: A=$12 X=$34 Y=$56 P=$02 ($103)=$00
Test 0538: tclr1 $103
   Input: A=$02 X=$34 Y=$56 P=$00 ($103)=$12
   Expected output: A=$02 X=$34 Y=$56 P=$80 ($103)=$10
Test 0539: tset1 $103
   Input: A=$09 X=$34 Y=$56 P=$ff ($103)=$11
   Expected output: A=$09 X=$34 Y=$56 P=$fd ($103)=$19
Test 053a: tset1 $103
   Input: A=$11 X=$34 Y=$56 P=$ff ($103)=$09
   Expected output: A=$11 X=$34 Y=$56 P=$7d ($103)=$19
Test 053b: tset1 $103
   Input: A=$05 X=$34 Y=$56 P=$ff ($103)=$05
   Expected output: A=$05 X=$34 Y=$56 P=$7f ($103)=$05
Test 053c: tset1 $103
   Input: A=$fe X=$34 Y=$56 P=$00 ($103)=$ff
   Expected output: A=$fe X=$34 Y=$56 P=$80 ($103)=$ff
Test 053d: xcn a
   Input: A=$12 X=$34 Y=$56 P=$ff
   Expected output: A=$21 X=$34 Y=$56 P=$7d
Test 053e: xcn a
   Input: A=$18 X=$34 Y=$56 P=$00
   Expected output: A=$81 X=$34 Y=$56 P=$80
Test 053f: xcn a
   Input: A=$00 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 0540: xcn a
   Input: A=$f0 X=$34 Y=$56 P=$00
   Expected output: A=$0f X=$34 Y=$56 P=$00
Test 0541: daa a
   Input: A=$10 X=$34 Y=$56 P=$00
   Expected output: A=$10 X=$34 Y=$56 P=$00
Test 0542: daa a
   Input: A=$1a X=$34 Y=$56 P=$00
   Expected output: A=$20 X=$34 Y=$56 P=$00
Test 0543: daa a
   Input: A=$10 X=$34 Y=$56 P=$01
   Expected output: A=$70 X=$34 Y=$56 P=$01
Test 0544: daa a
   Input: A=$10 X=$34 Y=$56 P=$09
   Expected output: A=$76 X=$34 Y=$56 P=$09
Test 0545: daa a
   Input: A=$ff X=$34 Y=$56 P=$f6
   Expected output: A=$65 X=$34 Y=$56 P=$75
Test 0546: daa a
   Input: A=$9a X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$03
Test 0547: daa a
   Input: A=$91 X=$34 Y=$56 P=$01
   Expected output: A=$f1 X=$34 Y=$56 P=$81
Test 0548: daa a
   Input: A=$9a X=$34 Y=$56 P=$08
   Expected output: A=$00 X=$34 Y=$56 P=$0b
Test 0549: daa a
   Input: A=$99 X=$34 Y=$56 P=$08
   Expected output: A=$9f X=$34 Y=$56 P=$88
Test 054a: das a
   Input: A=$10 X=$34 Y=$56 P=$09
   Expected output: A=$10 X=$34 Y=$56 P=$09
Test 054b: das a
   Input: A=$1a X=$34 Y=$56 P=$09
   Expected output: A=$14 X=$34 Y=$56 P=$09
Test 054c: das a
   Input: A=$a1 X=$34 Y=$56 P=$ff
   Expected output: A=$41 X=$34 Y=$56 P=$7c
Test 054d: das a
   Input: A=$ff X=$34 Y=$56 P=$09
   Expected output: A=$99 X=$34 Y=$56 P=$88
Test 054e: das a
   Input: A=$99 X=$34 Y=$56 P=$00
   Expected output: A=$33 X=$34 Y=$56 P=$00
Test 054f: das a
   Input: A=$66 X=$34 Y=$56 P=$00
   Expected output: A=$00 X=$34 Y=$56 P=$02
Test 0550: das a
   Input: A=$11 X=$34 Y=$56 P=$00
   Expected output: A=$ab X=$34 Y=$56 P=$80
Test 0551: div ya, x
   Input: A=$00 X=$00 Y=$00 P=$00
   Expected output: A=$ff X=$00 Y=$00 P=$c8
Test 0552: div ya, x
   Input: A=$23 X=$10 Y=$01 P=$00
   Expected output: A=$12 X=$10 Y=$03 P=$08
Test 0553: div ya, x
   Input: A=$10 X=$88 Y=$01 P=$ff
   Expected output: A=$02 X=$88 Y=$00 P=$35
Test 0554: div ya, x
   Input: A=$0f X=$88 Y=$01 P=$ff
   Expected output: A=$01 X=$88 Y=$87 P=$35
Test 0555: div ya, x
   Input: A=$23 X=$01 Y=$01 P=$00
   Expected output: A=$23 X=$01 Y=$00 P=$48
Test 0556: div ya, x
   Input: A=$ff X=$00 Y=$ff P=$00
   Expected output: A=$00 X=$00 Y=$ff P=$4a
Test 0557: div ya, x
   Input: A=$cd X=$03 Y=$ab P=$00
   Expected output: A=$58 X=$03 Y=$c5 P=$48
