home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: Disk Number 4 / Lowe_DiskNumber4.img / SNES / 65C816.HLP next >
Unknown  |  1993-11-04  |  21.3 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Windows Help File (document/hlp) ext Supported
66% dexvert Multimedia Viewer Book (document/multimediaViewerBook) ext Supported
1% dexvert BDC HelpSystem (document/bdcHelpSystem) ext Unsupported
1% dexvert Eureka/Mercury Help (document/eurekaMercuryHelp) ext Unsupported
1% dexvert 4DOS Help (document/fourDOSHelp) ext Unsupported
1% dexvert OPHelp (document/opHelp) ext Unsupported
1% dexvert POP-UP DOS Help (document/popupDOSHelp) ext Unsupported
1% dexvert Quick Help (document/quickHelp) ext Unsupported
1% dexvert RMP Help (document/rmpHelp) ext Unsupported
1% dexvert Symantec DOS software help (document/symantecDOSSoftwareHelp) ext Unsupported
1% dexvert xText compiled Hypertext/Help (document/xTextCompiledHypertext) ext Unsupported
1% dexvert gfxboot compiled HTML Help (document/gfxbootCompiledHTMLHelp) ext Unsupported
1% dexvert Pure Pascal Help (document/purePascalHelp) ext Unsupported
1% dexvert WordPerfect help (document/wordPerfectHelp) ext Unsupported
1% dexvert Ashton-Tate Help data (other/ashtonTateHelpData) ext Unsupported
1% dexvert Borland Help System (other/borlandHelpSystem) ext Unsupported
1% dexvert DeskMate Filer database (other/deskMateFilerDatabase) ext Unsupported
1% dexvert Eclipse Help (other/eclipseHelp) ext Unsupported
1% dexvert Necromancer's Dos Navigator Help (other/necromancersDosNavigatorHelp) ext Unsupported
1% dexvert 1dir+ Help (other/oneDirPlusHelp) ext Unsupported
1% dexvert Qualitas Help (other/qualitasHelp) ext Unsupported
1% dexvert Turbo Pascal Help (other/turboPascalHelp) ext Unsupported
1% dexvert Vocal-Eyes Help (other/vocalEyesHelp) ext Unsupported
1% dexvert Windows Help index (other/windowsHelpIndex) ext Unsupported
1% dexvert Alpha Four Help (other/alphaFourHelp) ext Unsupported
1% dexvert FastLynx Help (other/fastLynxHelp) ext Unsupported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| f4 01 48 15 db 15 4b 16 | e5 16 16 19 47 1b 78 1d |..H...K.|....G.x.|
|00000010| a9 1f da 21 0b 24 3c 26 | 6d 28 cf 28 46 2a df 2a |...!.$<&|m(.(F*.*|
|00000020| 76 2b ad 2b 1f 2c 64 2c | 9e 2c 65 2d 81 2e 0b 2f |v+.+.,d,|.,e-.../|
|00000030| 95 2f 19 30 60 30 a7 30 | 23 31 9e 31 e5 31 2c 32 |./.0`0.0|#1.1.1,2|
|00000040| df 32 67 34 3b 35 e7 35 | 6c 36 f1 36 76 37 01 38 |.2g4;5.5|l6.6v7.8|
|00000050| 07 3a 0d 3c 84 3c e2 3c | 2f 3d 1b 3e 57 3e d8 3e |.:.<.<.<|/=.>W>.>|
|00000060| 13 3f 49 3f 87 3f 08 40 | 89 40 0a 41 8b 41 f4 41 |.?I?.?.@|.@.A.A.A|
|00000070| 58 42 d9 42 5a 43 db 43 | 02 44 ea 44 a4 45 c0 46 |XB.BZC.C|.D.D.E.F|
|00000080| df 47 ed 48 87 49 bc 49 | 58 4a a0 4a c5 4a 30 4b |.G.H.I.I|XJ.J.J0K|
|00000090| 7f 4b ea 4b 55 4c 87 4c | cf 4d 17 4f 9f 4f 27 50 |.K.KUL.L|.M.O.O'P|
|000000a0| 61 50 9a 50 d4 50 0d 51 | 95 51 1d 52 a5 52 2d 53 |aP.P.P.Q|.Q.R.R-S|
|000000b0| b5 53 3d 54 95 54 c3 54 | 00 00 00 00 00 00 00 00 |.S=T.T.T|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 0b 46 0f 08 | b4 36 35 43 38 31 36 c3 |.....F..|.65C816.|
|00000200| 0d 0a 20 09 20 20 20 20 | 20 20 20 20 20 20 20 50 |.. . | P|
|00000210| 52 4f 47 52 41 4d 4d 45 | 52 27 53 20 4f 56 45 52 |ROGRAMME|R'S OVER|
|00000220| 56 49 45 57 0d 0a 0d 0a | 0d 0a 4d 69 63 72 6f 70 |VIEW....|..Microp|
|00000230| 72 6f 63 65 73 73 6f 72 | 3a 20 36 35 43 38 31 36 |rocessor|: 65C816|
|00000240| 20 43 50 55 20 28 4e 69 | 6e 74 65 6e 64 6f 29 2e | CPU (Ni|ntendo).|
|00000250| 0d 0a 0d 0a 20 20 52 65 | 66 65 72 65 6e 63 65 28 |.... Re|ference(|
|00000260| 73 29 3a 20 53 4e 45 53 | 20 44 65 76 65 6c 6f 70 |s): SNES| Develop|
|00000270| 6d 65 6e 74 20 4d 61 6e | 75 61 6c 0d 0a 0d 0a 20 |ment Man|ual.... |
|00000280| 20 52 65 73 65 72 76 61 | 74 69 6f 6e 73 3a 20 4e | Reserva|tions: N|
|00000290| 6f 6e 65 2e 0d 0a 0d 0a | 20 20 52 65 76 69 73 69 |one.....| Revisi|
|000002a0| 6f 6e 28 73 29 3a 20 32 | 2e 32 30 20 2d 20 32 37 |on(s): 2|.20 - 27|
|000002b0| 2f 31 30 2f 39 32 20 28 | 46 69 72 73 74 20 76 65 |/10/92 (|First ve|
|000002c0| 72 73 69 6f 6e 20 76 32 | 2e 32 20 73 79 73 74 65 |rsion v2|.2 syste|
|000002d0| 6d 29 2e 0d 0a 0d 0a 0d | 0a 0d 0a 0d 0a 52 45 47 |m)......|.....REG|
|000002e0| 49 53 54 45 52 20 4d 4f | 44 45 4c 3a 0d 0a 0d 0a |ISTER MO|DEL:....|
|000002f0| 49 6e 74 65 72 6e 61 6c | 20 72 65 67 69 73 74 65 |Internal| registe|
|00000300| 72 73 20 6f 66 20 74 68 | 65 20 36 35 43 38 31 36 |rs of th|e 65C816|
|00000310| 20 63 61 6e 20 62 65 20 | 69 6c 6c 75 73 74 72 61 | can be |illustra|
|00000320| 74 65 64 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d |ted as f|ollows:.|
|00000330| 0a 0d 0a 09 09 09 20 20 | 20 20 37 20 20 20 20 20 |...... | 7 |
|00000340| 30 0d 0a 09 09 09 20 20 | 20 da c4 c4 c4 c4 c4 c4 |0..... | .......|
|00000350| c4 bf 0d 0a 41 63 63 75 | 6d 75 6c 61 74 6f 72 20 |....Accu|mulator |
|00000360| 52 65 67 09 09 20 20 20 | b3 20 20 20 41 20 20 20 |Reg.. |. A |
|00000370| b3 0d 0a 09 09 09 20 20 | 20 b3 c4 c4 c4 c4 c4 c4 |...... | .......|
|00000380| c4 b3 0d 0a 49 6e 64 65 | 78 20 52 65 67 69 73 74 |....Inde|x Regist|
|00000390| 65 72 73 09 09 20 20 20 | b3 20 20 20 58 20 20 20 |ers.. |. X |
|000003a0| b3 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|000003b0| 20 20 20 20 09 20 20 20 | b3 20 20 20 59 20 20 20 | . |. Y |
|000003c0| b3 0d 0a 09 09 09 20 20 | 20 c0 c4 c4 c4 c4 c4 c4 |...... | .......|
|000003d0| c4 d9 0d 0a 0d 0a 0d 0a | 0d 0a 0d 0a 09 09 20 20 |........|...... |
|000003e0| 20 20 31 35 20 20 20 20 | 20 20 20 20 20 20 20 20 | 15 | |
|000003f0| 20 30 0d 0a 09 09 20 20 | 20 da c4 c4 c4 c4 c4 c4 | 0.... | .......|
|00000400| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 bf 0d 0a 53 70 65 |........|.....Spe|
|00000410| 63 69 61 6c 20 52 65 67 | 69 73 74 65 72 73 20 20 |cial Reg|isters |
|00000420| 20 b3 20 20 20 20 20 20 | 20 53 50 20 20 20 20 20 | . | SP |
|00000430| 20 20 b3 20 53 74 61 63 | 6b 20 50 6f 69 6e 74 65 | . Stac|k Pointe|
|00000440| 72 0d 0a 09 09 20 20 20 | b3 20 20 20 20 20 20 20 |r.... |. |
|00000450| 50 43 20 20 20 20 20 20 | 20 b3 20 50 72 6f 67 72 |PC | . Progr|
|00000460| 61 6d 20 43 6f 75 6e 74 | 65 72 0d 0a 09 09 20 20 |am Count|er.... |
|00000470| 20 c0 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 | .......|........|
|00000480| c4 c4 d9 0d 0a 09 09 09 | 20 20 da c4 c4 c4 c4 c4 |........| ......|
|00000490| c4 c4 c4 bf 0d 0a 09 09 | 20 09 20 20 b3 20 20 20 |........| . . |
|000004a0| 53 52 20 20 20 b3 20 53 | 74 61 74 75 73 20 52 65 |SR . S|tatus Re|
|000004b0| 67 69 73 74 65 72 0d 0a | 09 09 09 20 20 c0 c4 c4 |gister..|... ...|
|000004c0| c4 c4 c4 c4 c4 c4 d9 0d | 0a 0d 0a 0d 0a 0d 0a 0d |........|........|
|000004d0| 0a 0d 0a 0d 0a 0d 0a 53 | 54 41 54 55 53 20 52 45 |.......S|TATUS RE|
|000004e0| 47 49 53 54 45 52 20 49 | 4e 20 44 45 54 41 49 4c |GISTER I|N DETAIL|
|000004f0| 3a 0d 0a 0d 0a 54 68 65 | 20 50 72 6f 67 72 61 6d |:....The| Program|
|00000500| 20 53 74 61 74 75 73 20 | 57 6f 72 64 20 69 73 20 | Status |Word is |
|00000510| 61 6c 6c 6f 63 61 74 65 | 64 20 61 73 20 66 6f 6c |allocate|d as fol|
|00000520| 6c 6f 77 73 3a 2d 0d 0a | 0d 0a 09 09 20 20 37 20 |lows:-..|.... 7 |
|00000530| 20 36 20 20 35 20 20 34 | 20 20 33 20 20 32 20 20 | 6 5 4| 3 2 |
|00000540| 31 20 20 30 0d 0a 09 09 | 20 20 20 20 20 20 20 da |1 0....| .|
|00000550| c4 c4 c4 c4 bf 09 20 20 | 20 da c4 c4 c4 bf 0d 0a |...... | .......|
|00000560| 09 09 20 20 20 20 20 20 | 20 b3 49 20 20 42 b3 09 |.. | .I B..|
|00000570| 20 20 20 b3 20 45 20 b3 | 0d 0a 09 09 da c4 c4 c4 | . E .|........|
|00000580| c4 c4 c4 c1 c4 c4 c4 c4 | c1 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000590| c4 c1 c4 c4 c4 b4 0d 0a | 09 09 b3 20 4e 20 20 56 |........|... N V|
|000005a0| 20 20 4d 20 20 58 20 20 | 44 20 20 49 20 20 5a 20 | M X |D I Z |
|000005b0| 20 43 20 b3 20 20 53 74 | 61 74 75 73 20 52 65 67 | C . St|atus Reg|
|000005c0| 69 73 74 65 72 20 28 53 | 52 29 0d 0a 09 09 c0 c4 |ister (S|R)......|
|000005d0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000005e0| c4 c4 c4 c4 c4 c4 c4 d9 | 0d 0a 0d 0a 0d 0a 0d 0a |........|........|
|000005f0| 0d 0a 0d 0a 28 50 72 6f | 67 72 61 6d 6d 61 62 6c |....(Pro|grammabl|
|00000600| 65 20 53 74 61 74 75 73 | 20 42 69 74 73 29 0d 0a |e Status| Bits)..|
|00000610| 0d 0a 44 20 2d 20 44 65 | 63 69 6d 61 6c 20 4d 6f |..D - De|cimal Mo|
|00000620| 64 65 0d 0a 09 53 65 6c | 65 63 74 73 20 42 43 44 |de...Sel|ects BCD|
|00000630| 2d 61 72 69 74 68 6d 65 | 74 69 63 20 6f 72 20 73 |-arithme|tic or s|
|00000640| 74 61 6e 64 61 72 64 20 | 62 69 6e 61 72 79 20 66 |tandard |binary f|
|00000650| 6f 72 20 74 68 65 20 41 | 44 43 20 61 6e 64 20 0d |or the A|DC and .|
|00000660| 0a 53 42 43 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |.SBC ins|truction|
|00000670| 73 2e 20 54 68 75 73 2c | 20 77 68 65 6e 20 64 65 |s. Thus,| when de|
|00000680| 63 69 6d 61 6c 20 6d 6f | 64 65 20 69 73 20 61 63 |cimal mo|de is ac|
|00000690| 74 69 76 65 20 74 68 65 | 20 41 44 43 2f 53 42 43 |tive the| ADC/SBC|
|000006a0| 20 0d 0a 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 | ..instr|uctions |
|000006b0| 61 73 73 75 6d 65 20 74 | 68 61 74 20 74 68 65 20 |assume t|hat the |
|000006c0| 6f 70 65 72 61 6e 64 73 | 20 61 72 65 20 76 61 6c |operands| are val|
|000006d0| 69 64 20 42 43 44 20 76 | 61 6c 75 65 73 20 61 6e |id BCD v|alues an|
|000006e0| 64 20 0d 0a 74 68 65 20 | 72 65 73 75 6c 74 20 77 |d ..the |result w|
|000006f0| 69 6c 6c 20 61 6c 73 6f | 20 62 65 20 61 20 76 61 |ill also| be a va|
|00000700| 6c 69 64 20 42 43 44 20 | 76 61 6c 75 65 2e 20 44 |lid BCD |value. D|
|00000710| 65 63 69 6d 61 6c 20 6d | 6f 64 65 20 69 73 20 61 |ecimal m|ode is a|
|00000720| 63 74 69 76 65 20 0d 0a | 77 68 65 6e 20 74 68 69 |ctive ..|when thi|
|00000730| 73 20 62 69 74 20 69 73 | 20 73 65 74 2c 20 61 6e |s bit is| set, an|
|00000740| 64 20 73 74 61 6e 64 61 | 72 64 20 62 69 6e 61 72 |d standa|rd binar|
|00000750| 79 20 77 68 65 6e 20 72 | 65 73 65 74 2e 0d 0a 09 |y when r|eset....|
|00000760| 54 68 65 20 73 74 61 6e | 64 61 72 64 20 36 35 30 |The stan|dard 650|
|00000770| 32 20 64 6f 65 73 20 6e | 6f 74 20 73 65 74 20 75 |2 does n|ot set u|
|00000780| 70 20 74 68 69 73 20 66 | 6c 61 67 20 6f 6e 20 52 |p this f|lag on R|
|00000790| 45 53 45 54 2c 20 0d 0a | 77 68 65 72 65 61 73 20 |ESET, ..|whereas |
|000007a0| 74 68 65 20 36 35 43 38 | 31 36 20 72 65 73 65 74 |the 65C8|16 reset|
|000007b0| 73 20 74 68 69 73 20 66 | 6c 61 67 20 28 62 69 6e |s this f|lag (bin|
|000007c0| 61 72 79 20 6d 6f 64 65 | 20 61 63 74 69 76 65 29 |ary mode| active)|
|000007d0| 20 61 66 74 65 72 20 0d | 0a 52 45 53 45 54 20 61 | after .|.RESET a|
|000007e0| 6e 64 20 69 6e 74 65 72 | 72 75 70 74 73 2e 0d 0a |nd inter|rupts...|
|000007f0| 0d 0a 0d 0a 0d 0a 0d 0a | 49 20 2d 20 49 6e 74 65 |........|I - Inte|
|00000800| 72 72 75 70 74 20 45 6e | 61 62 6c 65 0d 0a 09 45 |rrupt En|able...E|
|00000810| 6e 61 62 6c 65 73 2f 44 | 69 73 61 62 6c 65 73 20 |nables/D|isables |
|00000820| 69 6e 74 65 72 72 75 70 | 74 20 64 65 74 65 63 74 |interrup|t detect|
|00000830| 69 6f 6e 20 66 6f 72 20 | 73 69 67 6e 61 6c 73 20 |ion for |signals |
|00000840| 0d 0a 61 70 70 65 61 72 | 69 6e 67 20 6f 6e 20 74 |..appear|ing on t|
|00000850| 68 65 20 6e 6f 72 6d 61 | 6c 20 6d 61 73 6b 61 62 |he norma|l maskab|
|00000860| 6c 65 20 69 6e 74 65 72 | 72 75 70 74 20 70 69 6e |le inter|rupt pin|
|00000870| 20 28 2f 49 52 51 29 2e | 20 57 68 65 6e 20 73 65 | (/IRQ).| When se|
|00000880| 74 2c 20 0d 0a 69 6e 74 | 65 72 72 75 70 74 73 20 |t, ..int|errupts |
|00000890| 61 72 65 20 64 69 73 61 | 62 6c 65 64 2e 20 48 6f |are disa|bled. Ho|
|000008a0| 77 65 76 65 72 2c 20 74 | 68 65 20 73 6f 66 74 77 |wever, t|he softw|
|000008b0| 61 72 65 20 69 6e 74 65 | 72 72 75 70 74 20 0d 0a |are inte|rrupt ..|
|000008c0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 42 52 4b 20 |instruct|ion BRK |
|000008d0| 28 77 68 69 63 68 20 69 | 73 20 70 72 6f 63 65 73 |(which i|s proces|
|000008e0| 73 65 64 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 61 |sed simi|lar to a|
|000008f0| 6e 20 65 78 74 65 72 6e | 61 6c 20 49 52 51 20 0d |n extern|al IRQ .|
|00000900| 0a 73 6f 75 72 63 65 29 | 20 69 73 20 6e 6f 74 20 |.source)| is not |
|00000910| 6d 61 73 6b 61 62 6c 65 | 2e 0d 0a 0d 0a 0d 0a 0d |maskable|........|
|00000920| 0a 4d 20 2d 20 4d 65 6d | 6f 72 79 20 53 65 6c 65 |.M - Mem|ory Sele|
|00000930| 63 74 0d 0a 09 49 6e 20 | 74 68 65 20 6e 61 74 69 |ct...In |the nati|
|00000940| 76 65 20 31 36 20 62 69 | 74 20 6d 6f 64 65 20 28 |ve 16 bi|t mode (|
|00000950| 45 3d 30 29 20 77 68 65 | 6e 20 74 68 65 20 6d 65 |E=0) whe|n the me|
|00000960| 6d 6f 72 79 20 73 65 6c | 65 63 74 20 62 69 74 0d |mory sel|ect bit.|
|00000970| 0a 28 4d 29 20 69 73 20 | 30 2c 20 74 68 65 20 61 |.(M) is |0, the a|
|00000980| 63 63 75 6d 75 6c 61 74 | 6f 72 20 6f 70 65 72 61 |ccumulat|or opera|
|00000990| 74 65 73 20 61 74 20 74 | 68 65 20 77 69 64 74 68 |tes at t|he width|
|000009a0| 20 6f 66 20 31 36 20 62 | 69 74 73 2e 20 57 68 65 | of 16 b|its. Whe|
|000009b0| 6e 20 74 68 65 0d 0a 6d | 65 6d 6f 72 79 20 73 65 |n the..m|emory se|
|000009c0| 6c 65 63 74 20 62 69 74 | 20 69 73 20 31 2c 20 74 |lect bit| is 1, t|
|000009d0| 68 65 20 61 63 63 75 6d | 75 6c 61 74 6f 72 20 6f |he accum|ulator o|
|000009e0| 70 65 72 61 74 65 73 20 | 61 74 20 74 68 65 20 77 |perates |at the w|
|000009f0| 69 64 74 68 20 6f 66 20 | 38 0d 0a 62 69 74 73 2e |idth of |8..bits.|
|00000a00| 20 49 6e 20 74 68 65 20 | 6c 61 74 74 65 72 20 63 | In the |latter c|
|00000a10| 61 73 65 2c 20 74 68 65 | 20 68 69 67 68 65 72 20 |ase, the| higher |
|00000a20| 62 79 74 65 20 28 42 29 | 20 69 73 20 6c 69 6e 6b |byte (B)| is link|
|00000a30| 65 64 20 74 6f 20 74 68 | 65 20 58 42 41 0d 0a 63 |ed to th|e XBA..c|
|00000a40| 6f 6d 6d 61 6e 64 20 61 | 6e 64 20 69 73 20 75 73 |ommand a|nd is us|
|00000a50| 65 64 20 61 73 20 61 20 | 74 65 6d 70 6f 72 61 72 |ed as a |temporar|
|00000a60| 79 20 73 74 6f 72 61 67 | 65 20 72 65 67 69 73 74 |y storag|e regist|
|00000a70| 65 72 2e 0d 0a 0d 0a 58 | 20 2d 20 49 6e 64 65 78 |er.....X| - Index|
|00000a80| 20 52 65 67 69 73 74 65 | 72 0d 0a 09 49 6e 20 74 | Registe|r...In t|
|00000a90| 68 65 20 6e 61 74 69 76 | 65 20 6d 6f 64 65 20 28 |he nativ|e mode (|
|00000aa0| 45 3d 30 29 20 77 68 65 | 6e 20 74 68 65 20 69 6e |E=0) whe|n the in|
|00000ab0| 64 65 78 20 73 65 6c 65 | 63 74 20 62 69 74 20 28 |dex sele|ct bit (|
|00000ac0| 58 29 0d 0a 69 73 20 30 | 2c 20 62 6f 74 68 20 69 |X)..is 0|, both i|
|00000ad0| 6e 64 65 78 20 72 65 67 | 69 73 74 65 72 73 20 61 |ndex reg|isters a|
|00000ae0| 72 65 20 6f 70 65 72 61 | 74 65 64 20 61 74 20 74 |re opera|ted at t|
|00000af0| 68 65 20 77 69 64 74 68 | 20 6f 66 20 31 36 20 62 |he width| of 16 b|
|00000b00| 69 74 73 2e 20 57 68 65 | 6e 0d 0a 74 68 65 20 69 |its. Whe|n..the i|
|00000b10| 6e 64 65 78 20 73 65 6c | 65 63 74 20 62 69 74 20 |ndex sel|ect bit |
|00000b20| 69 73 20 31 2c 20 62 6f | 74 68 20 72 65 67 69 73 |is 1, bo|th regis|
|00000b30| 74 65 72 73 20 61 72 65 | 20 6f 70 65 72 61 74 65 |ters are| operate|
|00000b40| 64 20 61 74 20 74 68 65 | 20 77 69 64 74 68 20 6f |d at the| width o|
|00000b50| 66 0d 0a 38 20 62 69 74 | 73 20 61 6e 64 20 65 61 |f..8 bit|s and ea|
|00000b60| 63 68 20 68 69 67 68 65 | 72 20 62 79 74 65 20 69 |ch highe|r byte i|
|00000b70| 73 20 73 74 61 62 69 6c | 69 73 65 64 20 61 74 20 |s stabil|ised at |
|00000b80| 30 2e 09 0d 0a 0d 0a 28 | 49 6e 73 74 72 75 63 74 |0......(|Instruct|
|00000b90| 69 6f 6e 20 53 74 61 74 | 75 73 20 46 6c 61 67 73 |ion Stat|us Flags|
|00000ba0| 29 0d 0a 0d 0a 4e 20 2d | 20 53 69 67 6e 0d 0a 09 |)....N -| Sign...|
|00000bb0| 52 65 66 6c 65 63 74 73 | 20 74 68 65 20 4d 53 42 |Reflects| the MSB|
|00000bc0| 69 74 20 6f 66 20 74 68 | 65 20 72 65 73 75 6c 74 |it of th|e result|
|00000bd0| 20 61 66 74 65 72 20 61 | 6e 20 0d 0a 61 72 69 74 | after a|n ..arit|
|00000be0| 68 6d 65 74 69 63 2f 6c | 6f 67 69 63 61 6c 20 73 |hmetic/l|ogical s|
|00000bf0| 68 69 66 74 20 6f 70 65 | 72 61 74 69 6f 6e 2e 20 |hift ope|ration. |
|00000c00| 4e 20 69 73 20 73 65 74 | 20 69 66 20 74 68 65 20 |N is set| if the |
|00000c10| 4d 53 42 69 74 20 69 73 | 20 31 2e 20 0d 0a 54 68 |MSBit is| 1. ..Th|
|00000c20| 65 72 65 66 6f 72 65 2c | 20 69 66 20 74 68 65 20 |erefore,| if the |
|00000c30| 72 65 73 75 6c 74 20 72 | 65 70 72 65 73 65 6e 74 |result r|epresent|
|00000c40| 73 20 61 20 74 77 6f 27 | 73 20 63 6f 6d 70 6c 65 |s a two'|s comple|
|00000c50| 6d 65 6e 74 20 76 61 6c | 75 65 20 74 68 65 6e 20 |ment val|ue then |
|00000c60| 0d 0a 74 68 69 73 20 73 | 74 61 74 75 73 20 62 69 |..this s|tatus bi|
|00000c70| 74 20 72 65 66 6c 65 63 | 74 73 20 74 68 65 20 73 |t reflec|ts the s|
|00000c80| 69 67 6e 20 28 70 6f 73 | 69 74 69 76 65 20 6f 72 |ign (pos|itive or|
|00000c90| 20 6e 65 67 61 74 69 76 | 65 29 20 6f 66 20 74 68 | negativ|e) of th|
|00000ca0| 65 20 0d 0a 76 61 6c 75 | 65 2e 0d 0a 0d 0a 56 20 |e ..valu|e.....V |
|00000cb0| 2d 20 4f 76 65 72 66 6c | 6f 77 0d 0a 09 54 68 69 |- Overfl|ow...Thi|
|00000cc0| 73 20 66 6c 61 67 20 69 | 73 20 73 65 74 20 77 68 |s flag i|s set wh|
|00000cd0| 65 6e 20 61 6e 20 61 72 | 69 74 68 6d 65 74 69 63 |en an ar|ithmetic|
|00000ce0| 20 72 65 73 75 6c 74 20 | 69 73 20 67 72 65 61 74 | result |is great|
|00000cf0| 65 72 20 69 6e 20 0d 0a | 6d 61 67 6e 69 74 75 64 |er in ..|magnitud|
|00000d00| 65 20 74 68 61 6e 20 63 | 61 6e 20 62 65 20 72 65 |e than c|an be re|
|00000d10| 70 72 65 73 65 6e 74 65 | 64 20 69 6e 20 74 68 65 |presente|d in the|
|00000d20| 20 72 65 67 69 73 74 65 | 72 20 28 61 73 73 75 6d | registe|r (assum|
|00000d30| 69 6e 67 20 74 77 6f 27 | 73 20 0d 0a 63 6f 6d 70 |ing two'|s ..comp|
|00000d40| 6c 65 6d 65 6e 74 20 6e | 6f 74 61 74 69 6f 6e 29 |lement n|otation)|
|00000d50| 2e 20 49 6e 20 74 65 63 | 68 6e 69 63 61 6c 20 74 |. In tec|hnical t|
|00000d60| 65 72 6d 73 20 74 68 69 | 73 20 66 6c 61 67 20 69 |erms thi|s flag i|
|00000d70| 73 20 74 68 65 20 0d 0a | 65 78 63 6c 75 73 69 76 |s the ..|exclusiv|
|00000d80| 65 2d 4f 52 20 6f 66 20 | 74 68 65 20 43 20 66 6c |e-OR of |the C fl|
|00000d90| 61 67 20 61 6e 64 20 6e | 65 78 74 20 6d 6f 73 74 |ag and n|ext most|
|00000da0| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 62 69 74 | signifi|cant bit|
|00000db0| 2e 0d 0a 0d 0a 45 20 2d | 20 45 6d 75 6c 61 74 69 |.....E -| Emulati|
|00000dc0| 6f 6e 20 4d 6f 64 65 0d | 0a 09 54 68 65 20 45 20 |on Mode.|..The E |
|00000dd0| 66 6c 61 67 20 69 73 20 | 73 65 6c 65 63 74 65 64 |flag is |selected|
|00000de0| 20 62 79 20 74 68 65 20 | 58 43 45 20 63 6f 6d 6d | by the |XCE comm|
|00000df0| 61 6e 64 2e 20 49 74 20 | 63 61 6e 20 6f 6e 6c 79 |and. It |can only|
|00000e00| 0d 0a 62 65 20 61 63 63 | 65 73 73 65 64 20 74 68 |..be acc|essed th|
|00000e10| 72 6f 75 67 68 20 74 68 | 65 20 70 72 6f 63 65 73 |rough th|e proces|
|00000e20| 73 6f 72 20 73 74 61 74 | 75 73 20 72 65 67 69 73 |sor stat|us regis|
|00000e30| 74 65 72 2e 20 49 66 20 | 73 65 74 2c 20 36 35 30 |ter. If |set, 650|
|00000e40| 32 20 6d 6f 64 65 0d 0a | 69 73 20 73 65 6c 65 63 |2 mode..|is selec|
|00000e50| 74 65 64 2e 20 49 66 20 | 63 6c 65 61 72 20 74 68 |ted. If |clear th|
|00000e60| 65 6e 20 74 68 65 20 6e | 61 74 69 76 65 20 31 36 |en the n|ative 16|
|00000e70| 20 62 69 74 20 6d 6f 64 | 65 20 69 73 20 65 6e 61 | bit mod|e is ena|
|00000e80| 62 6c 65 64 2e 09 0d 0a | 09 0d 0a 0d 0a 0d 0a 0d |bled....|........|
|00000e90| 0a 42 20 2d 20 42 72 65 | 61 6b 0d 0a 09 54 68 69 |.B - Bre|ak...Thi|
|00000ea0| 73 20 66 6c 61 67 20 69 | 73 20 73 65 74 20 61 75 |s flag i|s set au|
|00000eb0| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 77 68 65 6e |tomatica|lly when|
|00000ec0| 20 61 20 73 6f 66 74 77 | 61 72 65 20 69 6e 74 65 | a softw|are inte|
|00000ed0| 72 72 75 70 74 20 0d 0a | 69 6e 73 74 72 75 63 74 |rrupt ..|instruct|
|00000ee0| 69 6f 6e 20 28 42 52 4b | 29 20 6f 63 63 75 72 73 |ion (BRK|) occurs|
|00000ef0| 20 61 6e 64 20 63 6c 65 | 61 72 65 64 20 6f 6e 20 | and cle|ared on |
|00000f00| 61 6e 20 65 78 74 65 72 | 6e 61 6c 20 2f 49 52 51 |an exter|nal /IRQ|
|00000f10| 20 0d 0a 69 6e 74 65 72 | 72 75 70 74 2e 20 54 68 | ..inter|rupt. Th|
|00000f20| 75 73 2c 20 74 68 65 20 | 69 6e 74 65 72 72 75 70 |us, the |interrup|
|00000f30| 74 20 70 72 6f 63 65 64 | 75 72 65 20 63 61 6e 20 |t proced|ure can |
|00000f40| 74 65 73 74 20 74 68 69 | 73 20 66 6c 61 67 20 74 |test thi|s flag t|
|00000f50| 6f 20 0d 0a 64 65 74 65 | 72 6d 69 6e 65 20 69 66 |o ..dete|rmine if|
|00000f60| 20 74 68 65 20 69 6e 74 | 65 72 72 75 70 74 20 77 | the int|errupt w|
|00000f70| 61 73 20 67 65 6e 65 72 | 61 74 65 64 20 62 79 20 |as gener|ated by |
|00000f80| 65 78 74 65 72 6e 61 6c | 20 68 61 72 64 77 61 72 |external| hardwar|
|00000f90| 65 20 0d 0a 65 74 63 2e | 0d 0a 0d 0a 5a 20 2d 20 |e ..etc.|....Z - |
|00000fa0| 5a 65 72 6f 0d 0a 09 53 | 65 74 20 74 6f 20 31 20 |Zero...S|et to 1 |
|00000fb0| 77 68 65 6e 20 74 68 65 | 20 72 65 73 75 6c 74 20 |when the| result |
|00000fc0| 76 61 6c 75 65 20 69 73 | 20 61 6c 6c 20 30 73 20 |value is| all 0s |
|00000fd0| 61 66 74 65 72 20 61 6e | 20 0d 0a 61 72 69 74 68 |after an| ..arith|
|00000fe0| 6d 65 74 69 63 2f 20 6c | 6f 67 69 63 61 6c 20 73 |metic/ l|ogical s|
|00000ff0| 68 69 66 74 20 61 6e 64 | 20 6f 74 68 65 72 20 6f |hift and| other o|
|00001000| 70 65 72 61 74 69 6f 6e | 73 2e 0d 0a 0d 0a 43 20 |peration|s.....C |
|00001010| 2d 20 43 61 72 72 79 0d | 0a 09 53 65 74 20 74 6f |- Carry.|..Set to|
|00001020| 20 31 20 77 68 65 6e 20 | 61 20 63 61 72 72 79 20 | 1 when |a carry |
|00001030| 66 72 6f 6d 20 74 68 65 | 20 4d 53 42 69 74 20 6f |from the| MSBit o|
|00001040| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 6f 72 20 |f the re|sult or |
|00001050| 0d 0a 6f 70 65 72 61 6e | 64 20 6f 63 63 75 72 72 |..operan|d occurr|
|00001060| 65 64 2e 20 54 68 69 73 | 20 66 6c 61 67 20 61 6c |ed. This| flag al|
|00001070| 73 6f 20 72 65 66 6c 65 | 63 74 73 20 61 6e 20 6f |so refle|cts an o|
|00001080| 70 65 72 61 6e 64 20 62 | 69 74 20 73 74 61 74 75 |perand b|it statu|
|00001090| 73 20 0d 0a 64 75 72 69 | 6e 67 20 72 6f 74 61 74 |s ..duri|ng rotat|
|000010a0| 65 2f 73 68 69 66 74 20 | 69 6e 73 74 72 75 63 74 |e/shift |instruct|
|000010b0| 69 6f 6e 73 2e 0d 0a 0d | 0a 53 50 45 43 49 41 4c |ions....|.SPECIAL|
|000010c0| 20 41 53 53 45 4d 42 4c | 59 20 43 4f 4e 53 49 44 | ASSEMBL|Y CONSID|
|000010d0| 45 52 41 54 49 4f 4e 53 | 3a 0d 0a 0d 0a 31 2e 20 |ERATIONS|:....1. |
|000010e0| 54 68 65 20 61 73 73 65 | 6d 62 6c 65 72 20 61 6c |The asse|mbler al|
|000010f0| 77 61 79 73 20 65 6e 63 | 6f 64 65 73 20 74 68 65 |ways enc|odes the|
|00001100| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 73 74 72 | specifi|ed instr|
|00001110| 75 63 74 69 6f 6e 20 69 | 6e 74 6f 20 0d 0a 74 68 |uction i|nto ..th|
|00001120| 65 20 6d 6f 73 74 20 65 | 66 66 69 63 69 65 6e 74 |e most e|fficient|
|00001130| 20 6f 70 63 6f 64 65 20 | 61 76 61 69 6c 61 62 6c | opcode |availabl|
|00001140| 65 20 28 69 65 20 27 70 | 61 67 65 20 7a 65 72 6f |e (ie 'p|age zero|
|00001150| 27 20 64 69 72 65 63 74 | 20 0d 0a 61 64 64 72 65 |' direct| ..addre|
|00001160| 73 73 65 73 29 20 77 68 | 65 72 65 20 74 68 65 20 |sses) wh|ere the |
|00001170| 6f 70 74 69 6f 6e 20 65 | 78 69 73 74 73 2c 20 77 |option e|xists, w|
|00001180| 68 69 63 68 20 63 61 6e | 6e 6f 74 20 62 65 20 27 |hich can|not be '|
|00001190| 6f 76 65 72 72 69 64 64 | 65 6e 27 2e 0d 0a 0d 0a |overridd|en'.....|
|000011a0| 32 2e 20 59 6f 75 20 63 | 61 6e 20 6f 76 65 72 72 |2. You c|an overr|
|000011b0| 69 64 65 20 74 68 65 20 | 27 49 6e 64 65 78 65 64 |ide the |'Indexed|
|000011c0| 27 20 61 64 64 72 65 73 | 73 69 6e 67 20 6d 6f 64 |' addres|sing mod|
|000011d0| 65 20 61 75 74 6f 6d 61 | 74 69 63 20 0d 0a 65 6e |e automa|tic ..en|
|000011e0| 63 6f 64 69 6e 67 20 66 | 6f 72 20 27 70 61 67 65 |coding f|or 'page|
|000011f0| 20 7a 65 72 6f 27 20 62 | 79 20 70 72 65 63 65 64 | zero' b|y preced|
|00001200| 69 6e 67 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |ing the |address |
|00001210| 77 69 74 68 20 61 20 27 | 3e 27 20 0d 0a 63 68 61 |with a '|>' ..cha|
|00001220| 72 61 63 74 65 72 20 28 | 73 65 65 20 64 69 73 63 |racter (|see disc|
|00001230| 75 73 73 69 6f 6e 20 61 | 62 6f 76 65 29 2e 0d 0a |ussion a|bove)...|
|00001240| 0d 0a 33 2e 20 52 65 6d | 65 6d 62 65 72 20 74 68 |..3. Rem|ember th|
|00001250| 61 74 20 69 6d 6d 65 64 | 69 61 74 65 20 64 61 74 |at immed|iate dat|
|00001260| 61 20 76 61 6c 75 65 73 | 20 6d 75 73 74 20 62 65 |a values| must be|
|00001270| 20 70 72 65 63 65 64 65 | 64 20 62 79 20 61 20 27 | precede|d by a '|
|00001280| 23 27 20 0d 0a 63 68 61 | 72 61 63 74 65 72 20 6f |#' ..cha|racter o|
|00001290| 74 68 65 72 77 69 73 65 | 20 74 68 65 20 76 61 6c |therwise| the val|
|000012a0| 75 65 20 77 69 6c 6c 20 | 62 65 20 69 6e 74 65 72 |ue will |be inter|
|000012b0| 70 72 65 74 65 64 20 61 | 73 20 61 6e 20 61 64 64 |preted a|s an add|
|000012c0| 72 65 73 73 20 0d 0a 6f | 66 20 74 68 65 20 6f 70 |ress ..o|f the op|
|000012d0| 65 72 61 6e 64 2c 20 73 | 6f 20 62 65 20 63 61 72 |erand, s|o be car|
|000012e0| 65 66 75 6c 21 0d 0a 0d | 0a 0d 0a 34 2e 20 49 6e |eful!...|...4. In|
|000012f0| 73 74 72 75 63 74 69 6f | 6e 20 65 78 65 63 75 74 |structio|n execut|
|00001300| 69 6f 6e 20 63 79 63 6c | 65 73 20 64 69 73 70 6c |ion cycl|es displ|
|00001310| 61 79 65 64 20 77 69 74 | 68 69 6e 20 74 68 65 20 |ayed wit|hin the |
|00001320| 64 69 61 67 6e 6f 73 74 | 69 63 0d 0a 68 65 6c 70 |diagnost|ic..help|
|00001330| 20 77 69 6e 64 6f 77 20 | 64 65 70 69 63 74 20 73 | window |depict s|
|00001340| 6f 6d 65 20 69 6e 64 65 | 78 65 64 20 61 64 64 72 |ome inde|xed addr|
|00001350| 65 73 73 69 6e 67 20 6d | 6f 64 65 73 20 68 61 76 |essing m|odes hav|
|00001360| 69 6e 67 20 74 77 6f 20 | 0d 0a 73 74 61 74 65 73 |ing two |..states|
|00001370| 2e 20 54 68 65 20 6c 6f | 6e 67 65 72 20 65 78 65 |. The lo|nger exe|
|00001380| 63 75 74 69 6f 6e 20 77 | 69 6c 6c 20 6f 6e 6c 79 |cution w|ill only|
|00001390| 20 61 70 70 6c 79 20 77 | 68 65 6e 20 61 20 27 70 | apply w|hen a 'p|
|000013a0| 61 67 65 20 0d 0a 62 6f | 75 6e 64 61 72 79 27 20 |age ..bo|undary' |
|000013b0| 69 73 20 63 72 6f 73 73 | 65 64 2e 20 48 6f 77 65 |is cross|ed. Howe|
|000013c0| 76 65 72 2c 20 63 6f 6e | 64 69 74 69 6f 6e 61 6c |ver, con|ditional|
|000013d0| 20 6a 75 6d 70 20 69 6e | 73 74 72 75 63 74 69 6f | jump in|structio|
|000013e0| 6e 73 20 68 61 76 65 20 | 0d 0a 64 69 66 66 65 72 |ns have |..differ|
|000013f0| 65 6e 74 20 65 78 65 63 | 75 74 69 6f 6e 20 63 6f |ent exec|ution co|
|00001400| 75 6e 74 73 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |unts dep|ending o|
|00001410| 6e 20 77 68 65 74 68 65 | 72 20 74 68 65 20 6a 75 |n whethe|r the ju|
|00001420| 6d 70 20 6f 63 63 75 72 | 73 2e 0d 0a 0d 0a 35 2e |mp occur|s.....5.|
|00001430| 20 52 65 6d 65 6d 62 65 | 72 20 74 68 61 74 20 74 | Remembe|r that t|
|00001440| 68 65 20 36 35 43 38 31 | 36 20 68 61 73 20 61 64 |he 65C81|6 has ad|
|00001450| 64 69 74 69 6f 6e 61 6c | 20 28 70 6f 77 65 72 66 |ditional| (powerf|
|00001460| 75 6c 29 20 61 64 64 72 | 65 73 73 69 6e 67 20 0d |ul) addr|essing .|
|00001470| 0a 6d 6f 64 65 73 20 61 | 6e 64 20 62 69 74 20 74 |.modes a|nd bit t|
|00001480| 65 73 74 2f 73 65 74 20 | 69 6e 73 74 72 75 63 74 |est/set |instruct|
|00001490| 69 6f 6e 73 2e 0d 0a 0d | 0a 36 2e 20 45 43 41 4c |ions....|.6. ECAL|
|000014a0| 20 64 65 66 61 75 6c 74 | 73 20 74 6f 20 74 68 65 | default|s to the|
|000014b0| 20 27 49 4e 54 45 4c 27 | 20 72 61 64 69 78 69 6e | 'INTEL'| radixin|
|000014c0| 67 20 66 6f 72 6d 61 74 | 2c 20 66 6f 72 20 0d 0a |g format|, for ..|
|000014d0| 63 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 77 69 |compatib|ility wi|
|000014e0| 74 68 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |th the s|tandard |
|000014f0| 52 6f 63 6b 77 65 6c 6c | 20 61 73 73 65 6d 62 6c |Rockwell| assembl|
|00001500| 65 72 20 75 73 65 20 74 | 68 65 20 52 41 44 49 58 |er use t|he RADIX|
|00001510| 20 0d 0a 4d 4f 54 4f 4c | 20 64 69 72 65 63 74 69 | ..MOTOL| directi|
|00001520| 76 65 20 61 74 20 74 68 | 65 20 62 65 67 69 6e 6e |ve at th|e beginn|
|00001530| 69 6e 67 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |ing of t|he progr|
|00001540| 61 6d 2e 0d 0a 0d 0a 1a | 01 3b 03 05 b4 41 44 43 |am......|.;...ADC|
|00001550| c3 41 64 64 20 6d 65 6d | 6f 72 79 20 62 79 74 65 |.Add mem|ory byte|
|00001560| 20 28 6f 72 20 69 6d 6d | 65 64 69 61 74 65 20 64 | (or imm|ediate d|
|00001570| 61 74 61 29 20 61 6e 64 | 20 63 61 72 72 79 20 66 |ata) and| carry f|
|00001580| 6c 61 67 20 74 6f 20 74 | 68 65 20 41 20 0d 0a 72 |lag to t|he A ..r|
|00001590| 65 67 69 73 74 65 72 2e | 20 53 74 6f 72 65 20 74 |egister.| Store t|
|000015a0| 68 65 20 72 65 73 75 6c | 74 20 62 61 63 6b 20 69 |he resul|t back i|
|000015b0| 6e 74 6f 20 41 2e 20 2a | 53 65 65 20 61 6c 73 6f |nto A. *|See also|
|000015c0| 20 43 4c 44 2f 53 45 44 | 20 0d 0a 69 6e 73 74 72 | CLD/SED| ..instr|
|000015d0| 75 63 74 69 6f 6e 73 2e | 0d 0a 1a 01 3a 02 05 b4 |uctions.|....:...|
|000015e0| 41 4e 44 c3 4c 6f 67 69 | 63 61 6c 6c 79 20 41 4e |AND.Logi|cally AN|
|000015f0| 44 20 61 20 6d 65 6d 6f | 72 79 20 62 79 74 65 20 |D a memo|ry byte |
|00001600| 28 6f 72 20 69 6d 6d 65 | 64 69 61 74 65 20 64 61 |(or imme|diate da|
|00001610| 74 61 29 20 77 69 74 68 | 20 74 68 65 20 41 20 0d |ta) with| the A .|
|00001620| 0a 72 65 67 69 73 74 65 | 72 2e 20 53 74 6f 72 65 |.registe|r. Store|
|00001630| 20 74 68 65 20 72 65 73 | 75 6c 74 20 62 61 63 6b | the res|ult back|
|00001640| 20 69 6e 74 6f 20 41 2e | 0d 0a 1a 01 40 03 05 b4 | into A.|....@...|
|00001650| 41 53 4c c3 41 72 69 74 | 68 6d 65 74 69 63 20 73 |ASL.Arit|hmetic s|
|00001660| 68 69 66 74 20 61 20 6d | 65 6d 6f 72 79 20 62 79 |hift a m|emory by|
|00001670| 74 65 20 6f 72 20 72 65 | 67 69 73 74 65 72 20 41 |te or re|gister A|
|00001680| 20 6f 6e 65 20 62 69 74 | 20 70 6f 73 69 74 69 6f | one bit| positio|
|00001690| 6e 20 0d 0a 6c 65 66 74 | 2e 20 41 20 7a 65 72 6f |n ..left|. A zero|
|000016a0| 20 69 73 20 73 68 69 66 | 74 65 64 20 69 6e 74 6f | is shif|ted into|
|000016b0| 20 62 69 74 20 30 20 61 | 6e 64 20 62 69 74 20 37 | bit 0 a|nd bit 7|
|000016c0| 20 69 73 20 73 68 69 66 | 74 65 64 20 69 6e 74 6f | is shif|ted into|
|000016d0| 20 74 68 65 20 0d 0a 63 | 61 72 72 79 20 66 6c 61 | the ..c|arry fla|
|000016e0| 67 2e 0d 0a 1a 01 40 09 | 05 b4 42 43 43 c3 42 72 |g.....@.|..BCC.Br|
|000016f0| 61 6e 63 68 20 6f 6e 20 | 63 6f 6e 64 69 74 69 6f |anch on |conditio|
|00001700| 6e 20 74 6f 20 61 20 70 | 72 6f 67 72 61 6d 20 72 |n to a p|rogram r|
|00001710| 65 6c 61 74 69 76 65 20 | 61 64 64 72 65 73 73 20 |elative |address |
|00001720| 69 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 0d |if the c|urrent .|
|00001730| 0a 73 74 61 74 75 73 20 | 66 6c 61 67 73 20 69 6e |.status |flags in|
|00001740| 20 74 68 65 20 53 74 61 | 74 75 73 20 72 65 67 69 | the Sta|tus regi|
|00001750| 73 74 65 72 20 6d 61 74 | 63 68 20 74 68 65 20 63 |ster mat|ch the c|
|00001760| 6f 6e 64 69 74 69 6f 6e | 20 69 6d 70 6c 69 65 64 |ondition| implied|
|00001770| 20 0d 0a 62 79 20 74 68 | 65 20 6f 70 65 72 61 74 | ..by th|e operat|
|00001780| 6f 72 2e 20 54 68 65 20 | 73 74 61 74 75 73 20 66 |or. The |status f|
|00001790| 6c 61 67 73 20 77 68 69 | 63 68 20 6d 75 73 74 20 |lags whi|ch must |
|000017a0| 62 65 20 73 65 74 2f 72 | 65 73 65 74 20 61 72 65 |be set/r|eset are|
|000017b0| 20 0d 0a 6c 69 73 74 65 | 64 20 69 6e 20 74 68 65 | ..liste|d in the|
|000017c0| 20 69 6e 74 72 6f 64 75 | 63 74 6f 72 79 20 74 65 | introdu|ctory te|
|000017d0| 78 74 20 73 65 63 74 69 | 6f 6e 2e 0d 0a 09 59 6f |xt secti|on....Yo|
|000017e0| 75 20 6d 75 73 74 20 73 | 75 70 70 6c 79 20 61 6e |u must s|upply an|
|000017f0| 20 61 62 73 6f 6c 75 74 | 65 20 6d 65 6d 6f 72 79 | absolut|e memory|
|00001800| 20 61 64 64 72 65 73 73 | 20 28 6f 72 20 61 73 73 | address| (or ass|
|00001810| 65 6d 62 6c 65 72 20 0d | 0a 6c 61 62 65 6c 20 65 |embler .|.label e|
|00001820| 74 63 29 20 61 6e 64 20 | 74 68 65 20 61 73 73 65 |tc) and |the asse|
|00001830| 6d 62 6c 65 72 20 61 75 | 74 6f 6d 61 74 69 63 61 |mbler au|tomatica|
|00001840| 6c 6c 79 20 63 61 6c 63 | 75 6c 61 74 65 73 20 74 |lly calc|ulates t|
|00001850| 68 65 20 0d 0a 72 65 71 | 75 69 72 65 64 20 50 43 |he ..req|uired PC|
|00001860| 2d 72 65 6c 61 74 69 76 | 65 20 6f 66 66 73 65 74 |-relativ|e offset|
|00001870| 2e 20 41 73 20 74 68 69 | 73 20 69 6e 73 74 72 75 |. As thi|s instru|
|00001880| 63 74 69 6f 6e 20 65 6e | 63 6f 64 65 73 20 74 68 |ction en|codes th|
|00001890| 65 20 0d 0a 6f 66 66 73 | 65 74 20 69 6e 20 61 20 |e ..offs|et in a |
|000018a0| 73 69 6e 67 6c 65 20 62 | 79 74 65 20 79 6f 75 20 |single b|yte you |
|000018b0| 63 61 6e 20 6f 6e 6c 79 | 20 6a 75 6d 70 20 74 6f |can only| jump to|
|000018c0| 20 61 64 64 72 65 73 73 | 65 73 20 77 68 69 63 68 | address|es which|
|000018d0| 20 61 72 65 20 0d 0a 77 | 69 74 68 69 6e 20 61 70 | are ..w|ithin ap|
|000018e0| 70 72 6f 78 69 6d 61 74 | 65 6c 79 20 31 32 37 20 |proximat|ely 127 |
|000018f0| 62 79 74 65 73 20 66 72 | 6f 6d 20 74 68 65 20 63 |bytes fr|om the c|
|00001900| 75 72 72 65 6e 74 20 69 | 6e 73 74 72 75 63 74 69 |urrent i|nstructi|
|00001910| 6f 6e 2e 0d 0a 1a 01 40 | 09 05 b4 42 43 53 c3 42 |on.....@|...BCS.B|
|00001920| 72 61 6e 63 68 20 6f 6e | 20 63 6f 6e 64 69 74 69 |ranch on| conditi|
|00001930| 6f 6e 20 74 6f 20 61 20 | 70 72 6f 67 72 61 6d 20 |on to a |program |
|00001940| 72 65 6c 61 74 69 76 65 | 20 61 64 64 72 65 73 73 |relative| address|
|00001950| 20 69 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | if the |current |
|00001960| 0d 0a 73 74 61 74 75 73 | 20 66 6c 61 67 73 20 69 |..status| flags i|
|00001970| 6e 20 74 68 65 20 53 74 | 61 74 75 73 20 72 65 67 |n the St|atus reg|
|00001980| 69 73 74 65 72 20 6d 61 | 74 63 68 20 74 68 65 20 |ister ma|tch the |
|00001990| 63 6f 6e 64 69 74 69 6f | 6e 20 69 6d 70 6c 69 65 |conditio|n implie|
|000019a0| 64 20 0d 0a 62 79 20 74 | 68 65 20 6f 70 65 72 61 |d ..by t|he opera|
|000019b0| 74 6f 72 2e 20 54 68 65 | 20 73 74 61 74 75 73 20 |tor. The| status |
|000019c0| 66 6c 61 67 73 20 77 68 | 69 63 68 20 6d 75 73 74 |flags wh|ich must|
|000019d0| 20 62 65 20 73 65 74 2f | 72 65 73 65 74 20 61 72 | be set/|reset ar|
|000019e0| 65 20 0d 0a 6c 69 73 74 | 65 64 20 69 6e 20 74 68 |e ..list|ed in th|
|000019f0| 65 20 69 6e 74 72 6f 64 | 75 63 74 6f 72 79 20 74 |e introd|uctory t|
|00001a00| 65 78 74 20 73 65 63 74 | 69 6f 6e 2e 0d 0a 09 59 |ext sect|ion....Y|
|00001a10| 6f 75 20 6d 75 73 74 20 | 73 75 70 70 6c 79 20 61 |ou must |supply a|
|00001a20| 6e 20 61 62 73 6f 6c 75 | 74 65 20 6d 65 6d 6f 72 |n absolu|te memor|
|00001a30| 79 20 61 64 64 72 65 73 | 73 20 28 6f 72 20 61 73 |y addres|s (or as|
|00001a40| 73 65 6d 62 6c 65 72 20 | 0d 0a 6c 61 62 65 6c 20 |sembler |..label |
|00001a50| 65 74 63 29 20 61 6e 64 | 20 74 68 65 20 61 73 73 |etc) and| the ass|
|00001a60| 65 6d 62 6c 65 72 20 61 | 75 74 6f 6d 61 74 69 63 |embler a|utomatic|
|00001a70| 61 6c 6c 79 20 63 61 6c | 63 75 6c 61 74 65 73 20 |ally cal|culates |
|00001a80| 74 68 65 20 0d 0a 72 65 | 71 75 69 72 65 64 20 50 |the ..re|quired P|
|00001a90| 43 2d 72 65 6c 61 74 69 | 76 65 20 6f 66 66 73 65 |C-relati|ve offse|
|00001aa0| 74 2e 20 41 73 20 74 68 | 69 73 20 69 6e 73 74 72 |t. As th|is instr|
|00001ab0| 75 63 74 69 6f 6e 20 65 | 6e 63 6f 64 65 73 20 74 |uction e|ncodes t|
|00001ac0| 68 65 20 0d 0a 6f 66 66 | 73 65 74 20 69 6e 20 61 |he ..off|set in a|
|00001ad0| 20 73 69 6e 67 6c 65 20 | 62 79 74 65 20 79 6f 75 | single |byte you|
|00001ae0| 20 63 61 6e 20 6f 6e 6c | 79 20 6a 75 6d 70 20 74 | can onl|y jump t|
|00001af0| 6f 20 61 64 64 72 65 73 | 73 65 73 20 77 68 69 63 |o addres|ses whic|
|00001b00| 68 20 61 72 65 20 0d 0a | 77 69 74 68 69 6e 20 61 |h are ..|within a|
|00001b10| 70 70 72 6f 78 69 6d 61 | 74 65 6c 79 20 31 32 37 |pproxima|tely 127|
|00001b20| 20 62 79 74 65 73 20 66 | 72 6f 6d 20 74 68 65 20 | bytes f|rom the |
|00001b30| 63 75 72 72 65 6e 74 20 | 69 6e 73 74 72 75 63 74 |current |instruct|
|00001b40| 69 6f 6e 2e 0d 0a 1a 01 | 40 09 05 b4 42 45 51 c3 |ion.....|@...BEQ.|
|00001b50| 42 72 61 6e 63 68 20 6f | 6e 20 63 6f 6e 64 69 74 |Branch o|n condit|
|00001b60| 69 6f 6e 20 74 6f 20 61 | 20 70 72 6f 67 72 61 6d |ion to a| program|
|00001b70| 20 72 65 6c 61 74 69 76 | 65 20 61 64 64 72 65 73 | relativ|e addres|
|00001b80| 73 20 69 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |s if the| current|
|00001b90| 20 0d 0a 73 74 61 74 75 | 73 20 66 6c 61 67 73 20 | ..statu|s flags |
|00001ba0| 69 6e 20 74 68 65 20 53 | 74 61 74 75 73 20 72 65 |in the S|tatus re|
|00001bb0| 67 69 73 74 65 72 20 6d | 61 74 63 68 20 74 68 65 |gister m|atch the|
|00001bc0| 20 63 6f 6e 64 69 74 69 | 6f 6e 20 69 6d 70 6c 69 | conditi|on impli|
|00001bd0| 65 64 20 0d 0a 62 79 20 | 74 68 65 20 6f 70 65 72 |ed ..by |the oper|
|00001be0| 61 74 6f 72 2e 20 54 68 | 65 20 73 74 61 74 75 73 |ator. Th|e status|
|00001bf0| 20 66 6c 61 67 73 20 77 | 68 69 63 68 20 6d 75 73 | flags w|hich mus|
|00001c00| 74 20 62 65 20 73 65 74 | 2f 72 65 73 65 74 20 61 |t be set|/reset a|
|00001c10| 72 65 20 0d 0a 6c 69 73 | 74 65 64 20 69 6e 20 74 |re ..lis|ted in t|
|00001c20| 68 65 20 69 6e 74 72 6f | 64 75 63 74 6f 72 79 20 |he intro|ductory |
|00001c30| 74 65 78 74 20 73 65 63 | 74 69 6f 6e 2e 0d 0a 09 |text sec|tion....|
|00001c40| 59 6f 75 20 6d 75 73 74 | 20 73 75 70 70 6c 79 20 |You must| supply |
|00001c50| 61 6e 20 61 62 73 6f 6c | 75 74 65 20 6d 65 6d 6f |an absol|ute memo|
|00001c60| 72 79 20 61 64 64 72 65 | 73 73 20 28 6f 72 20 61 |ry addre|ss (or a|
|00001c70| 73 73 65 6d 62 6c 65 72 | 20 0d 0a 6c 61 62 65 6c |ssembler| ..label|
|00001c80| 20 65 74 63 29 20 61 6e | 64 20 74 68 65 20 61 73 | etc) an|d the as|
|00001c90| 73 65 6d 62 6c 65 72 20 | 61 75 74 6f 6d 61 74 69 |sembler |automati|
|00001ca0| 63 61 6c 6c 79 20 63 61 | 6c 63 75 6c 61 74 65 73 |cally ca|lculates|
|00001cb0| 20 74 68 65 20 0d 0a 72 | 65 71 75 69 72 65 64 20 | the ..r|equired |
|00001cc0| 50 43 2d 72 65 6c 61 74 | 69 76 65 20 6f 66 66 73 |PC-relat|ive offs|
|00001cd0| 65 74 2e 20 41 73 20 74 | 68 69 73 20 69 6e 73 74 |et. As t|his inst|
|00001ce0| 72 75 63 74 69 6f 6e 20 | 65 6e 63 6f 64 65 73 20 |ruction |encodes |
|00001cf0| 74 68 65 20 0d 0a 6f 66 | 66 73 65 74 20 69 6e 20 |the ..of|fset in |
|00001d00| 61 20 73 69 6e 67 6c 65 | 20 62 79 74 65 20 79 6f |a single| byte yo|
|00001d10| 75 20 63 61 6e 20 6f 6e | 6c 79 20 6a 75 6d 70 20 |u can on|ly jump |
|00001d20| 74 6f 20 61 64 64 72 65 | 73 73 65 73 20 77 68 69 |to addre|sses whi|
|00001d30| 63 68 20 61 72 65 20 0d | 0a 77 69 74 68 69 6e 20 |ch are .|.within |
|00001d40| 61 70 70 72 6f 78 69 6d | 61 74 65 6c 79 20 31 32 |approxim|ately 12|
|00001d50| 37 20 62 79 74 65 73 20 | 66 72 6f 6d 20 74 68 65 |7 bytes |from the|
|00001d60| 20 63 75 72 72 65 6e 74 | 20 69 6e 73 74 72 75 63 | current| instruc|
|00001d70| 74 69 6f 6e 2e 0d 0a 1a | 01 40 09 05 b4 42 4d 49 |tion....|.@...BMI|
|00001d80| c3 42 72 61 6e 63 68 20 | 6f 6e 20 63 6f 6e 64 69 |.Branch |on condi|
|00001d90| 74 69 6f 6e 20 74 6f 20 | 61 20 70 72 6f 67 72 61 |tion to |a progra|
|00001da0| 6d 20 72 65 6c 61 74 69 | 76 65 20 61 64 64 72 65 |m relati|ve addre|
|00001db0| 73 73 20 69 66 20 74 68 | 65 20 63 75 72 72 65 6e |ss if th|e curren|
|00001dc0| 74 20 0d 0a 73 74 61 74 | 75 73 20 66 6c 61 67 73 |t ..stat|us flags|
|00001dd0| 20 69 6e 20 74 68 65 20 | 53 74 61 74 75 73 20 72 | in the |Status r|
|00001de0| 65 67 69 73 74 65 72 20 | 6d 61 74 63 68 20 74 68 |egister |match th|
|00001df0| 65 20 63 6f 6e 64 69 74 | 69 6f 6e 20 69 6d 70 6c |e condit|ion impl|
|00001e00| 69 65 64 20 0d 0a 62 79 | 20 74 68 65 20 6f 70 65 |ied ..by| the ope|
|00001e10| 72 61 74 6f 72 2e 20 54 | 68 65 20 73 74 61 74 75 |rator. T|he statu|
|00001e20| 73 20 66 6c 61 67 73 20 | 77 68 69 63 68 20 6d 75 |s flags |which mu|
|00001e30| 73 74 20 62 65 20 73 65 | 74 2f 72 65 73 65 74 20 |st be se|t/reset |
|00001e40| 61 72 65 20 0d 0a 6c 69 | 73 74 65 64 20 69 6e 20 |are ..li|sted in |
|00001e50| 74 68 65 20 69 6e 74 72 | 6f 64 75 63 74 6f 72 79 |the intr|oductory|
|00001e60| 20 74 65 78 74 20 73 65 | 63 74 69 6f 6e 2e 0d 0a | text se|ction...|
|00001e70| 09 59 6f 75 20 6d 75 73 | 74 20 73 75 70 70 6c 79 |.You mus|t supply|
|00001e80| 20 61 6e 20 61 62 73 6f | 6c 75 74 65 20 6d 65 6d | an abso|lute mem|
|00001e90| 6f 72 79 20 61 64 64 72 | 65 73 73 20 28 6f 72 20 |ory addr|ess (or |
|00001ea0| 61 73 73 65 6d 62 6c 65 | 72 20 0d 0a 6c 61 62 65 |assemble|r ..labe|
|00001eb0| 6c 20 65 74 63 29 20 61 | 6e 64 20 74 68 65 20 61 |l etc) a|nd the a|
|00001ec0| 73 73 65 6d 62 6c 65 72 | 20 61 75 74 6f 6d 61 74 |ssembler| automat|
|00001ed0| 69 63 61 6c 6c 79 20 63 | 61 6c 63 75 6c 61 74 65 |ically c|alculate|
|00001ee0| 73 20 74 68 65 20 0d 0a | 72 65 71 75 69 72 65 64 |s the ..|required|
|00001ef0| 20 50 43 2d 72 65 6c 61 | 74 69 76 65 20 6f 66 66 | PC-rela|tive off|
|00001f00| 73 65 74 2e 20 41 73 20 | 74 68 69 73 20 69 6e 73 |set. As |this ins|
|00001f10| 74 72 75 63 74 69 6f 6e | 20 65 6e 63 6f 64 65 73 |truction| encodes|
|00001f20| 20 74 68 65 20 0d 0a 6f | 66 66 73 65 74 20 69 6e | the ..o|ffset in|
|00001f30| 20 61 20 73 69 6e 67 6c | 65 20 62 79 74 65 20 79 | a singl|e byte y|
|00001f40| 6f 75 20 63 61 6e 20 6f | 6e 6c 79 20 6a 75 6d 70 |ou can o|nly jump|
|00001f50| 20 74 6f 20 61 64 64 72 | 65 73 73 65 73 20 77 68 | to addr|esses wh|
|00001f60| 69 63 68 20 61 72 65 20 | 0d 0a 77 69 74 68 69 6e |ich are |..within|
|00001f70| 20 61 70 70 72 6f 78 69 | 6d 61 74 65 6c 79 20 31 | approxi|mately 1|
|00001f80| 32 37 20 62 79 74 65 73 | 20 66 72 6f 6d 20 74 68 |27 bytes| from th|
|00001f90| 65 20 63 75 72 72 65 6e | 74 20 69 6e 73 74 72 75 |e curren|t instru|
|00001fa0| 63 74 69 6f 6e 2e 0d 0a | 1a 01 40 09 05 b4 42 4e |ction...|..@...BN|
|00001fb0| 45 c3 42 72 61 6e 63 68 | 20 6f 6e 20 63 6f 6e 64 |E.Branch| on cond|
|00001fc0| 69 74 69 6f 6e 20 74 6f | 20 61 20 70 72 6f 67 72 |ition to| a progr|
|00001fd0| 61 6d 20 72 65 6c 61 74 | 69 76 65 20 61 64 64 72 |am relat|ive addr|
|00001fe0| 65 73 73 20 69 66 20 74 | 68 65 20 63 75 72 72 65 |ess if t|he curre|
|00001ff0| 6e 74 20 0d 0a 73 74 61 | 74 75 73 20 66 6c 61 67 |nt ..sta|tus flag|
|00002000| 73 20 69 6e 20 74 68 65 | 20 53 74 61 74 75 73 20 |s in the| Status |
|00002010| 72 65 67 69 73 74 65 72 | 20 6d 61 74 63 68 20 74 |register| match t|
|00002020| 68 65 20 63 6f 6e 64 69 | 74 69 6f 6e 20 69 6d 70 |he condi|tion imp|
|00002030| 6c 69 65 64 20 0d 0a 62 | 79 20 74 68 65 20 6f 70 |lied ..b|y the op|
|00002040| 65 72 61 74 6f 72 2e 20 | 54 68 65 20 73 74 61 74 |erator. |The stat|
|00002050| 75 73 20 66 6c 61 67 73 | 20 77 68 69 63 68 20 6d |us flags| which m|
|00002060| 75 73 74 20 62 65 20 73 | 65 74 2f 72 65 73 65 74 |ust be s|et/reset|
|00002070| 20 61 72 65 20 0d 0a 6c | 69 73 74 65 64 20 69 6e | are ..l|isted in|
|00002080| 20 74 68 65 20 69 6e 74 | 72 6f 64 75 63 74 6f 72 | the int|roductor|
|00002090| 79 20 74 65 78 74 20 73 | 65 63 74 69 6f 6e 2e 0d |y text s|ection..|
|000020a0| 0a 09 59 6f 75 20 6d 75 | 73 74 20 73 75 70 70 6c |..You mu|st suppl|
|000020b0| 79 20 61 6e 20 61 62 73 | 6f 6c 75 74 65 20 6d 65 |y an abs|olute me|
|000020c0| 6d 6f 72 79 20 61 64 64 | 72 65 73 73 20 28 6f 72 |mory add|ress (or|
|000020d0| 20 61 73 73 65 6d 62 6c | 65 72 20 0d 0a 6c 61 62 | assembl|er ..lab|
|000020e0| 65 6c 20 65 74 63 29 20 | 61 6e 64 20 74 68 65 20 |el etc) |and the |
|000020f0| 61 73 73 65 6d 62 6c 65 | 72 20 61 75 74 6f 6d 61 |assemble|r automa|
|00002100| 74 69 63 61 6c 6c 79 20 | 63 61 6c 63 75 6c 61 74 |tically |calculat|
|00002110| 65 73 20 74 68 65 20 0d | 0a 72 65 71 75 69 72 65 |es the .|.require|
|00002120| 64 20 50 43 2d 72 65 6c | 61 74 69 76 65 20 6f 66 |d PC-rel|ative of|
|00002130| 66 73 65 74 2e 20 41 73 | 20 74 68 69 73 20 69 6e |fset. As| this in|
|00002140| 73 74 72 75 63 74 69 6f | 6e 20 65 6e 63 6f 64 65 |structio|n encode|
|00002150| 73 20 74 68 65 20 0d 0a | 6f 66 66 73 65 74 20 69 |s the ..|offset i|
|00002160| 6e 20 61 20 73 69 6e 67 | 6c 65 20 62 79 74 65 20 |n a sing|le byte |
|00002170| 79 6f 75 20 63 61 6e 20 | 6f 6e 6c 79 20 6a 75 6d |you can |only jum|
|00002180| 70 20 74 6f 20 61 64 64 | 72 65 73 73 65 73 20 77 |p to add|resses w|
|00002190| 68 69 63 68 20 61 72 65 | 20 0d 0a 77 69 74 68 69 |hich are| ..withi|
|000021a0| 6e 20 61 70 70 72 6f 78 | 69 6d 61 74 65 6c 79 20 |n approx|imately |
|000021b0| 31 32 37 20 62 79 74 65 | 73 20 66 72 6f 6d 20 74 |127 byte|s from t|
|000021c0| 68 65 20 63 75 72 72 65 | 6e 74 20 69 6e 73 74 72 |he curre|nt instr|
|000021d0| 75 63 74 69 6f 6e 2e 0d | 0a 1a 01 40 09 05 b4 42 |uction..|...@...B|
|000021e0| 50 4c c3 42 72 61 6e 63 | 68 20 6f 6e 20 63 6f 6e |PL.Branc|h on con|
|000021f0| 64 69 74 69 6f 6e 20 74 | 6f 20 61 20 70 72 6f 67 |dition t|o a prog|
|00002200| 72 61 6d 20 72 65 6c 61 | 74 69 76 65 20 61 64 64 |ram rela|tive add|
|00002210| 72 65 73 73 20 69 66 20 | 74 68 65 20 63 75 72 72 |ress if |the curr|
|00002220| 65 6e 74 20 0d 0a 73 74 | 61 74 75 73 20 66 6c 61 |ent ..st|atus fla|
|00002230| 67 73 20 69 6e 20 74 68 | 65 20 53 74 61 74 75 73 |gs in th|e Status|
|00002240| 20 72 65 67 69 73 74 65 | 72 20 6d 61 74 63 68 20 | registe|r match |
|00002250| 74 68 65 20 63 6f 6e 64 | 69 74 69 6f 6e 20 69 6d |the cond|ition im|
|00002260| 70 6c 69 65 64 20 0d 0a | 62 79 20 74 68 65 20 6f |plied ..|by the o|
|00002270| 70 65 72 61 74 6f 72 2e | 20 54 68 65 20 73 74 61 |perator.| The sta|
|00002280| 74 75 73 20 66 6c 61 67 | 73 20 77 68 69 63 68 20 |tus flag|s which |
|00002290| 6d 75 73 74 20 62 65 20 | 73 65 74 2f 72 65 73 65 |must be |set/rese|
|000022a0| 74 20 61 72 65 20 0d 0a | 6c 69 73 74 65 64 20 69 |t are ..|listed i|
|000022b0| 6e 20 74 68 65 20 69 6e | 74 72 6f 64 75 63 74 6f |n the in|troducto|
|000022c0| 72 79 20 74 65 78 74 20 | 73 65 63 74 69 6f 6e 2e |ry text |section.|
|000022d0| 0d 0a 09 59 6f 75 20 6d | 75 73 74 20 73 75 70 70 |...You m|ust supp|
|000022e0| 6c 79 20 61 6e 20 61 62 | 73 6f 6c 75 74 65 20 6d |ly an ab|solute m|
|000022f0| 65 6d 6f 72 79 20 61 64 | 64 72 65 73 73 20 28 6f |emory ad|dress (o|
|00002300| 72 20 61 73 73 65 6d 62 | 6c 65 72 20 0d 0a 6c 61 |r assemb|ler ..la|
|00002310| 62 65 6c 20 65 74 63 29 | 20 61 6e 64 20 74 68 65 |bel etc)| and the|
|00002320| 20 61 73 73 65 6d 62 6c | 65 72 20 61 75 74 6f 6d | assembl|er autom|
|00002330| 61 74 69 63 61 6c 6c 79 | 20 63 61 6c 63 75 6c 61 |atically| calcula|
|00002340| 74 65 73 20 74 68 65 20 | 0d 0a 72 65 71 75 69 72 |tes the |..requir|
|00002350| 65 64 20 50 43 2d 72 65 | 6c 61 74 69 76 65 20 6f |ed PC-re|lative o|
|00002360| 66 66 73 65 74 2e 20 41 | 73 20 74 68 69 73 20 69 |ffset. A|s this i|
|00002370| 6e 73 74 72 75 63 74 69 | 6f 6e 20 65 6e 63 6f 64 |nstructi|on encod|
|00002380| 65 73 20 74 68 65 20 0d | 0a 6f 66 66 73 65 74 20 |es the .|.offset |
|00002390| 69 6e 20 61 20 73 69 6e | 67 6c 65 20 62 79 74 65 |in a sin|gle byte|
|000023a0| 20 79 6f 75 20 63 61 6e | 20 6f 6e 6c 79 20 6a 75 | you can| only ju|
|000023b0| 6d 70 20 74 6f 20 61 64 | 64 72 65 73 73 65 73 20 |mp to ad|dresses |
|000023c0| 77 68 69 63 68 20 61 72 | 65 20 0d 0a 77 69 74 68 |which ar|e ..with|
|000023d0| 69 6e 20 61 70 70 72 6f | 78 69 6d 61 74 65 6c 79 |in appro|ximately|
|000023e0| 20 31 32 37 20 62 79 74 | 65 73 20 66 72 6f 6d 20 | 127 byt|es from |
|000023f0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 69 6e 73 74 |the curr|ent inst|
|00002400| 72 75 63 74 69 6f 6e 2e | 0d 0a 1a 01 40 09 05 b4 |ruction.|....@...|
|00002410| 42 56 43 c3 42 72 61 6e | 63 68 20 6f 6e 20 63 6f |BVC.Bran|ch on co|
|00002420| 6e 64 69 74 69 6f 6e 20 | 74 6f 20 61 20 70 72 6f |ndition |to a pro|
|00002430| 67 72 61 6d 20 72 65 6c | 61 74 69 76 65 20 61 64 |gram rel|ative ad|
|00002440| 64 72 65 73 73 20 69 66 | 20 74 68 65 20 63 75 72 |dress if| the cur|
|00002450| 72 65 6e 74 20 0d 0a 73 | 74 61 74 75 73 20 66 6c |rent ..s|tatus fl|
|00002460| 61 67 73 20 69 6e 20 74 | 68 65 20 53 74 61 74 75 |ags in t|he Statu|
|00002470| 73 20 72 65 67 69 73 74 | 65 72 20 6d 61 74 63 68 |s regist|er match|
|00002480| 20 74 68 65 20 63 6f 6e | 64 69 74 69 6f 6e 20 69 | the con|dition i|
|00002490| 6d 70 6c 69 65 64 20 0d | 0a 62 79 20 74 68 65 20 |mplied .|.by the |
|000024a0| 6f 70 65 72 61 74 6f 72 | 2e 20 54 68 65 20 73 74 |operator|. The st|
|000024b0| 61 74 75 73 20 66 6c 61 | 67 73 20 77 68 69 63 68 |atus fla|gs which|
|000024c0| 20 6d 75 73 74 20 62 65 | 20 73 65 74 2f 72 65 73 | must be| set/res|
|000024d0| 65 74 20 61 72 65 20 0d | 0a 6c 69 73 74 65 64 20 |et are .|.listed |
|000024e0| 69 6e 20 74 68 65 20 69 | 6e 74 72 6f 64 75 63 74 |in the i|ntroduct|
|000024f0| 6f 72 79 20 74 65 78 74 | 20 73 65 63 74 69 6f 6e |ory text| section|
|00002500| 2e 0d 0a 09 59 6f 75 20 | 6d 75 73 74 20 73 75 70 |....You |must sup|
|00002510| 70 6c 79 20 61 6e 20 61 | 62 73 6f 6c 75 74 65 20 |ply an a|bsolute |
|00002520| 6d 65 6d 6f 72 79 20 61 | 64 64 72 65 73 73 20 28 |memory a|ddress (|
|00002530| 6f 72 20 61 73 73 65 6d | 62 6c 65 72 20 0d 0a 6c |or assem|bler ..l|
|00002540| 61 62 65 6c 20 65 74 63 | 29 20 61 6e 64 20 74 68 |abel etc|) and th|
|00002550| 65 20 61 73 73 65 6d 62 | 6c 65 72 20 61 75 74 6f |e assemb|ler auto|
|00002560| 6d 61 74 69 63 61 6c 6c | 79 20 63 61 6c 63 75 6c |maticall|y calcul|
|00002570| 61 74 65 73 20 74 68 65 | 20 0d 0a 72 65 71 75 69 |ates the| ..requi|
|00002580| 72 65 64 20 50 43 2d 72 | 65 6c 61 74 69 76 65 20 |red PC-r|elative |
|00002590| 6f 66 66 73 65 74 2e 20 | 41 73 20 74 68 69 73 20 |offset. |As this |
|000025a0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 65 6e 63 6f |instruct|ion enco|
|000025b0| 64 65 73 20 74 68 65 20 | 0d 0a 6f 66 66 73 65 74 |des the |..offset|
|000025c0| 20 69 6e 20 61 20 73 69 | 6e 67 6c 65 20 62 79 74 | in a si|ngle byt|
|000025d0| 65 20 79 6f 75 20 63 61 | 6e 20 6f 6e 6c 79 20 6a |e you ca|n only j|
|000025e0| 75 6d 70 20 74 6f 20 61 | 64 64 72 65 73 73 65 73 |ump to a|ddresses|
|000025f0| 20 77 68 69 63 68 20 61 | 72 65 20 0d 0a 77 69 74 | which a|re ..wit|
|00002600| 68 69 6e 20 61 70 70 72 | 6f 78 69 6d 61 74 65 6c |hin appr|oximatel|
|00002610| 79 20 31 32 37 20 62 79 | 74 65 73 20 66 72 6f 6d |y 127 by|tes from|
|00002620| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 69 6e 73 | the cur|rent ins|
|00002630| 74 72 75 63 74 69 6f 6e | 2e 0d 0a 1a 01 40 09 05 |truction|.....@..|
|00002640| b4 42 56 53 c3 42 72 61 | 6e 63 68 20 6f 6e 20 63 |.BVS.Bra|nch on c|
|00002650| 6f 6e 64 69 74 69 6f 6e | 20 74 6f 20 61 20 70 72 |ondition| to a pr|
|00002660| 6f 67 72 61 6d 20 72 65 | 6c 61 74 69 76 65 20 61 |ogram re|lative a|
|00002670| 64 64 72 65 73 73 20 69 | 66 20 74 68 65 20 63 75 |ddress i|f the cu|
|00002680| 72 72 65 6e 74 20 0d 0a | 73 74 61 74 75 73 20 66 |rrent ..|status f|
|00002690| 6c 61 67 73 20 69 6e 20 | 74 68 65 20 53 74 61 74 |lags in |the Stat|
|000026a0| 75 73 20 72 65 67 69 73 | 74 65 72 20 6d 61 74 63 |us regis|ter matc|
|000026b0| 68 20 74 68 65 20 63 6f | 6e 64 69 74 69 6f 6e 20 |h the co|ndition |
|000026c0| 69 6d 70 6c 69 65 64 20 | 0d 0a 62 79 20 74 68 65 |implied |..by the|
|000026d0| 20 6f 70 65 72 61 74 6f | 72 2e 20 54 68 65 20 73 | operato|r. The s|
|000026e0| 74 61 74 75 73 20 66 6c | 61 67 73 20 77 68 69 63 |tatus fl|ags whic|
|000026f0| 68 20 6d 75 73 74 20 62 | 65 20 73 65 74 2f 72 65 |h must b|e set/re|
|00002700| 73 65 74 20 61 72 65 20 | 0d 0a 6c 69 73 74 65 64 |set are |..listed|
|00002710| 20 69 6e 20 74 68 65 20 | 69 6e 74 72 6f 64 75 63 | in the |introduc|
|00002720| 74 6f 72 79 20 74 65 78 | 74 20 73 65 63 74 69 6f |tory tex|t sectio|
|00002730| 6e 2e 0d 0a 09 59 6f 75 | 20 6d 75 73 74 20 73 75 |n....You| must su|
|00002740| 70 70 6c 79 20 61 6e 20 | 61 62 73 6f 6c 75 74 65 |pply an |absolute|
|00002750| 20 6d 65 6d 6f 72 79 20 | 61 64 64 72 65 73 73 20 | memory |address |
|00002760| 28 6f 72 20 61 73 73 65 | 6d 62 6c 65 72 20 0d 0a |(or asse|mbler ..|
|00002770| 6c 61 62 65 6c 20 65 74 | 63 29 20 61 6e 64 20 74 |label et|c) and t|
|00002780| 68 65 20 61 73 73 65 6d | 62 6c 65 72 20 61 75 74 |he assem|bler aut|
|00002790| 6f 6d 61 74 69 63 61 6c | 6c 79 20 63 61 6c 63 75 |omatical|ly calcu|
|000027a0| 6c 61 74 65 73 20 74 68 | 65 20 0d 0a 72 65 71 75 |lates th|e ..requ|
|000027b0| 69 72 65 64 20 50 43 2d | 72 65 6c 61 74 69 76 65 |ired PC-|relative|
|000027c0| 20 6f 66 66 73 65 74 2e | 20 41 73 20 74 68 69 73 | offset.| As this|
|000027d0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 65 6e 63 | instruc|tion enc|
|000027e0| 6f 64 65 73 20 74 68 65 | 20 0d 0a 6f 66 66 73 65 |odes the| ..offse|
|000027f0| 74 20 69 6e 20 61 20 73 | 69 6e 67 6c 65 20 62 79 |t in a s|ingle by|
|00002800| 74 65 20 79 6f 75 20 63 | 61 6e 20 6f 6e 6c 79 20 |te you c|an only |
|00002810| 6a 75 6d 70 20 74 6f 20 | 61 64 64 72 65 73 73 65 |jump to |addresse|
|00002820| 73 20 77 68 69 63 68 20 | 61 72 65 20 0d 0a 77 69 |s which |are ..wi|
|00002830| 74 68 69 6e 20 61 70 70 | 72 6f 78 69 6d 61 74 65 |thin app|roximate|
|00002840| 6c 79 20 31 32 37 20 62 | 79 74 65 73 20 66 72 6f |ly 127 b|ytes fro|
|00002850| 6d 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 69 6e |m the cu|rrent in|
|00002860| 73 74 72 75 63 74 69 6f | 6e 2e 0d 0a 1a 01 3f 02 |structio|n.....?.|
|00002870| 05 b4 42 52 41 c3 42 72 | 61 6e 63 68 20 61 6c 77 |..BRA.Br|anch alw|
|00002880| 61 79 73 20 74 6f 20 61 | 20 73 70 65 63 69 66 69 |ays to a| specifi|
|00002890| 65 64 20 70 72 6f 67 72 | 61 6d 20 72 65 6c 61 74 |ed progr|am relat|
|000028a0| 69 76 65 20 61 64 64 72 | 65 73 73 2e 20 41 73 20 |ive addr|ess. As |
|000028b0| 61 62 6f 76 65 20 0d 0a | 65 78 63 65 70 74 20 61 |above ..|except a|
|000028c0| 6c 77 61 79 73 20 6a 75 | 6d 70 73 2e 0d 0a 1a 01 |lways ju|mps.....|
|000028d0| 3e 06 05 b4 42 52 4c c3 | 42 72 61 6e 63 68 20 6c |>...BRL.|Branch l|
|000028e0| 6f 6e 67 20 61 6c 77 61 | 79 73 20 74 6f 20 61 20 |ong alwa|ys to a |
|000028f0| 73 70 65 63 69 66 69 65 | 64 20 70 72 6f 67 72 61 |specifie|d progra|
|00002900| 6d 20 72 65 6c 61 74 69 | 76 65 20 61 64 64 72 65 |m relati|ve addre|
|00002910| 73 73 2e 0d 0a 59 6f 75 | 20 6d 75 73 74 20 73 75 |ss...You| must su|
|00002920| 70 70 6c 79 20 61 6e 20 | 61 62 73 6f 6c 75 74 65 |pply an |absolute|
|00002930| 20 6d 65 6d 6f 72 79 20 | 61 64 64 72 65 73 73 20 | memory |address |
|00002940| 28 6f 72 20 61 73 73 65 | 6d 62 6c 65 72 20 0d 0a |(or asse|mbler ..|
|00002950| 6c 61 62 65 6c 20 65 74 | 63 29 20 61 6e 64 20 74 |label et|c) and t|
|00002960| 68 65 20 61 73 73 65 6d | 62 6c 65 72 20 61 75 74 |he assem|bler aut|
|00002970| 6f 6d 61 74 69 63 61 6c | 6c 79 20 63 61 6c 63 75 |omatical|ly calcu|
|00002980| 6c 61 74 65 73 20 74 68 | 65 20 0d 0a 72 65 71 75 |lates th|e ..requ|
|00002990| 69 72 65 64 20 50 43 2d | 72 65 6c 61 74 69 76 65 |ired PC-|relative|
|000029a0| 20 6f 66 66 73 65 74 2e | 20 41 73 20 74 68 69 73 | offset.| As this|
|000029b0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 65 6e 63 | instruc|tion enc|
|000029c0| 6f 64 65 73 20 74 68 65 | 20 0d 0a 6f 66 66 73 65 |odes the| ..offse|
|000029d0| 74 20 69 6e 20 74 77 6f | 20 62 79 74 65 73 20 79 |t in two| bytes y|
|000029e0| 6f 75 20 63 61 6e 20 6a | 75 6d 70 20 74 6f 20 61 |ou can j|ump to a|
|000029f0| 64 64 72 65 73 73 65 73 | 20 77 68 69 63 68 20 61 |ddresses| which a|
|00002a00| 72 65 20 0d 0a 77 69 74 | 68 69 6e 20 61 70 70 72 |re ..wit|hin appr|
|00002a10| 6f 78 69 6d 61 74 65 6c | 79 20 33 32 37 36 37 20 |oximatel|y 32767 |
|00002a20| 62 79 74 65 73 20 66 72 | 6f 6d 20 74 68 65 20 63 |bytes fr|om the c|
|00002a30| 75 72 72 65 6e 74 20 69 | 6e 73 74 72 75 63 74 69 |urrent i|nstructi|
|00002a40| 6f 6e 2e 0d 0a 1a 01 41 | 03 05 b4 42 52 4b c3 53 |on.....A|...BRK.S|
|00002a50| 6f 66 74 77 61 72 65 20 | 69 6e 74 65 72 72 75 70 |oftware |interrup|
|00002a60| 74 2e 20 43 61 75 73 65 | 73 20 74 68 65 20 70 72 |t. Cause|s the pr|
|00002a70| 6f 63 65 73 73 6f 72 20 | 74 6f 20 65 78 65 63 75 |ocessor |to execu|
|00002a80| 74 65 20 74 68 65 20 69 | 6e 74 65 72 72 75 70 74 |te the i|nterrupt|
|00002a90| 20 0d 0a 72 6f 75 74 69 | 6e 65 20 74 68 72 6f 75 | ..routi|ne throu|
|00002aa0| 67 68 20 74 68 65 20 42 | 52 4b 20 69 6e 74 65 72 |gh the B|RK inter|
|00002ab0| 72 75 70 74 20 76 65 63 | 74 6f 72 20 28 73 65 65 |rupt vec|tor (see|
|00002ac0| 20 49 4e 54 45 52 52 55 | 50 54 20 73 65 63 74 69 | INTERRU|PT secti|
|00002ad0| 6f 6e 20 0d 0a 61 62 6f | 76 65 29 2e 0d 0a 1a 01 |on ..abo|ve).....|
|00002ae0| 3e 03 05 b4 42 49 54 c3 | 4c 6f 67 69 63 61 6c 6c |>...BIT.|Logicall|
|00002af0| 79 20 41 4e 44 73 20 61 | 20 6d 65 6d 6f 72 79 20 |y ANDs a| memory |
|00002b00| 62 79 74 65 20 28 6f 72 | 20 69 6d 6d 65 64 69 61 |byte (or| immedia|
|00002b10| 74 65 20 64 61 74 61 29 | 20 61 6e 64 20 74 68 65 |te data)| and the|
|00002b20| 20 41 20 0d 0a 72 65 67 | 69 73 74 65 72 20 61 6e | A ..reg|ister an|
|00002b30| 64 20 64 69 73 63 61 72 | 64 73 20 74 68 65 20 72 |d discar|ds the r|
|00002b40| 65 73 75 6c 74 20 61 66 | 74 65 72 20 73 65 74 74 |esult af|ter sett|
|00002b50| 69 6e 67 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 |ing the |appropri|
|00002b60| 61 74 65 20 0d 0a 73 74 | 61 74 75 73 20 66 6c 61 |ate ..st|atus fla|
|00002b70| 67 73 2e 0d 0a 1a 01 2c | 01 05 b4 43 4c 43 c3 43 |gs.....,|...CLC.C|
|00002b80| 6c 65 61 72 20 63 61 72 | 72 79 20 66 6c 61 67 2e |lear car|ry flag.|
|00002b90| 20 54 68 65 20 43 20 66 | 6c 61 67 20 69 73 20 73 | The C f|lag is s|
|00002ba0| 65 74 20 74 6f 20 27 30 | 27 2e 0d 0a 1a 01 3f 02 |et to '0|'.....?.|
|00002bb0| 05 b4 43 4c 44 c3 43 6c | 65 61 72 20 64 65 63 69 |..CLD.Cl|ear deci|
|00002bc0| 6d 61 6c 20 6d 6f 64 65 | 20 66 6c 61 67 2e 20 50 |mal mode| flag. P|
|00002bd0| 6c 61 63 65 73 20 74 68 | 65 20 41 44 43 2f 53 42 |laces th|e ADC/SB|
|00002be0| 43 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 69 |C instru|ctions i|
|00002bf0| 6e 74 6f 20 61 20 0d 0a | 6e 6f 6e 2d 42 43 44 20 |nto a ..|non-BCD |
|00002c00| 61 72 69 74 68 6d 65 74 | 69 63 20 6d 6f 64 65 20 |arithmet|ic mode |
|00002c10| 28 69 65 20 62 69 6e 61 | 72 79 29 2e 0d 0a 1a 01 |(ie bina|ry).....|
|00002c20| 39 01 05 b4 43 4c 49 c3 | 43 6c 65 61 72 20 28 65 |9...CLI.|Clear (e|
|00002c30| 6e 61 62 6c 65 29 20 6e | 6f 72 6d 61 6c 20 69 6e |nable) n|ormal in|
|00002c40| 74 65 72 72 75 70 74 2e | 20 54 68 65 20 49 20 66 |terrupt.| The I f|
|00002c50| 6c 61 67 20 69 73 20 73 | 65 74 20 74 6f 20 27 30 |lag is s|et to '0|
|00002c60| 27 0d 0a 1a 01 2e 01 05 | b4 43 4c 56 c3 43 6c 65 |'.......|.CLV.Cle|
|00002c70| 61 72 20 6f 76 65 72 66 | 6c 6f 77 20 66 6c 61 67 |ar overf|low flag|
|00002c80| 2e 20 54 68 65 20 56 20 | 66 6c 61 67 20 69 73 20 |. The V |flag is |
|00002c90| 73 65 74 20 74 6f 20 27 | 30 27 2e 0d 0a 1a 01 41 |set to '|0'.....A|
|00002ca0| 03 05 b4 43 4d 50 c3 43 | 6f 6d 70 61 72 65 20 6d |...CMP.C|ompare m|
|00002cb0| 65 6d 6f 72 79 20 62 79 | 74 65 20 28 6f 72 20 69 |emory by|te (or i|
|00002cc0| 6d 6d 65 64 69 61 74 65 | 20 64 61 74 61 29 20 61 |mmediate| data) a|
|00002cd0| 6e 64 20 74 68 65 20 41 | 20 72 65 67 69 73 74 65 |nd the A| registe|
|00002ce0| 72 20 62 79 20 0d 0a 73 | 75 62 74 72 61 63 74 69 |r by ..s|ubtracti|
|00002cf0| 6e 67 20 74 68 65 20 76 | 61 6c 75 65 20 66 72 6f |ng the v|alue fro|
|00002d00| 6d 20 74 68 65 20 72 65 | 67 69 73 74 65 72 20 61 |m the re|gister a|
|00002d10| 6e 64 20 64 69 73 63 61 | 72 64 69 6e 67 20 74 68 |nd disca|rding th|
|00002d20| 65 20 72 65 73 75 6c 74 | 20 0d 0a 61 66 74 65 72 |e result| ..after|
|00002d30| 20 73 65 74 74 69 6e 67 | 20 74 68 65 20 73 74 61 | setting| the sta|
|00002d40| 74 75 73 20 66 6c 61 67 | 73 20 61 63 63 6f 72 64 |tus flag|s accord|
|00002d50| 69 6e 67 20 74 6f 20 74 | 68 65 20 72 65 73 75 6c |ing to t|he resul|
|00002d60| 74 2e 0d 0a 1a 01 45 04 | 05 b4 43 4f 50 c3 43 6f |t.....E.|..COP.Co|
|00002d70| 2d 70 72 6f 63 65 73 73 | 6f 72 20 6f 70 65 72 61 |-process|or opera|
|00002d80| 74 65 73 20 6c 69 6b 65 | 20 61 6e 20 69 6e 74 65 |tes like| an inte|
|00002d90| 72 72 75 70 74 3b 20 74 | 68 65 20 50 42 52 20 69 |rrupt; t|he PBR i|
|00002da0| 73 20 70 75 73 68 65 64 | 20 6f 6e 20 74 68 65 0d |s pushed| on the.|
|00002db0| 0a 73 74 61 63 6b 2c 20 | 74 68 65 6e 20 74 68 65 |.stack, |then the|
|00002dc0| 20 70 72 6f 67 72 61 6d | 20 63 6f 75 6e 74 65 72 | program| counter|
|00002dd0| 2c 20 61 6e 64 20 66 69 | 6e 61 6c 6c 79 20 74 68 |, and fi|nally th|
|00002de0| 65 20 73 74 61 74 75 73 | 20 72 65 67 69 73 74 65 |e status| registe|
|00002df0| 72 20 28 50 29 2e 0d 0a | 54 68 65 20 63 6f 6e 74 |r (P)...|The cont|
|00002e00| 65 6e 74 73 20 6f 66 20 | 6d 65 6d 6f 72 79 20 6c |ents of |memory l|
|00002e10| 6f 63 61 74 69 6f 6e 73 | 20 46 46 45 34 20 61 6e |ocations| FFE4 an|
|00002e20| 64 20 46 46 45 35 20 61 | 72 65 20 74 68 65 6e 20 |d FFE5 a|re then |
|00002e30| 64 65 70 6f 73 69 74 65 | 64 20 69 6e 0d 0a 50 43 |deposite|d in..PC|
|00002e40| 4c 20 61 6e 64 20 50 43 | 48 20 72 65 73 70 65 63 |L and PC|H respec|
|00002e50| 74 69 76 65 6c 79 2e 20 | 54 68 65 20 70 72 6f 67 |tively. |The prog|
|00002e60| 72 61 6d 20 62 61 6e 6b | 20 72 65 67 69 73 74 65 |ram bank| registe|
|00002e70| 72 20 69 73 20 73 65 74 | 20 74 6f 20 30 2e 0d 0a |r is set| to 0...|
|00002e80| 1a 01 41 02 05 b4 43 50 | 58 c3 43 6f 6d 70 61 72 |..A...CP|X.Compar|
|00002e90| 65 20 6d 65 6d 6f 72 79 | 20 62 79 74 65 20 28 6f |e memory| byte (o|
|00002ea0| 72 20 69 6d 6d 65 64 69 | 61 74 65 20 64 61 74 61 |r immedi|ate data|
|00002eb0| 29 20 61 6e 64 20 58 20 | 72 65 67 69 73 74 65 72 |) and X |register|
|00002ec0| 20 28 43 50 58 29 20 6f | 72 20 59 20 0d 0a 72 65 | (CPX) o|r Y ..re|
|00002ed0| 67 69 73 74 65 72 20 28 | 43 50 59 29 20 73 69 6d |gister (|CPY) sim|
|00002ee0| 69 6c 61 72 20 74 6f 20 | 43 4d 50 20 69 6e 73 74 |ilar to |CMP inst|
|00002ef0| 72 75 63 74 69 6f 6e 20 | 64 65 73 63 72 69 62 65 |ruction |describe|
|00002f00| 64 20 61 62 6f 76 65 2e | 0d 0a 1a 01 41 02 05 b4 |d above.|....A...|
|00002f10| 43 50 59 c3 43 6f 6d 70 | 61 72 65 20 6d 65 6d 6f |CPY.Comp|are memo|
|00002f20| 72 79 20 62 79 74 65 20 | 28 6f 72 20 69 6d 6d 65 |ry byte |(or imme|
|00002f30| 64 69 61 74 65 20 64 61 | 74 61 29 20 61 6e 64 20 |diate da|ta) and |
|00002f40| 58 20 72 65 67 69 73 74 | 65 72 20 28 43 50 58 29 |X regist|er (CPX)|
|00002f50| 20 6f 72 20 59 20 0d 0a | 72 65 67 69 73 74 65 72 | or Y ..|register|
|00002f60| 20 28 43 50 59 29 20 73 | 69 6d 69 6c 61 72 20 74 | (CPY) s|imilar t|
|00002f70| 6f 20 43 4d 50 20 69 6e | 73 74 72 75 63 74 69 6f |o CMP in|structio|
|00002f80| 6e 20 64 65 73 63 72 69 | 62 65 64 20 61 62 6f 76 |n descri|bed abov|
|00002f90| 65 2e 0d 0a 1a 01 3f 02 | 05 b4 44 45 43 c3 44 65 |e.....?.|..DEC.De|
|00002fa0| 63 72 65 6d 65 6e 74 20 | 6d 65 6d 6f 72 79 20 62 |crement |memory b|
|00002fb0| 79 74 65 2e 20 53 75 62 | 74 72 61 63 74 73 20 6f |yte. Sub|tracts o|
|00002fc0| 6e 65 20 66 72 6f 6d 20 | 74 68 65 20 73 70 65 63 |ne from |the spec|
|00002fd0| 69 66 69 65 64 20 6f 70 | 65 72 61 6e 64 20 0d 0a |ified op|erand ..|
|00002fe0| 61 6c 73 6f 20 73 65 74 | 74 69 6e 67 20 74 68 65 |also set|ting the|
|00002ff0| 20 73 74 61 74 75 73 20 | 66 6c 61 67 73 20 61 63 | status |flags ac|
|00003000| 63 6f 72 64 69 6e 67 20 | 74 6f 20 74 68 65 20 72 |cording |to the r|
|00003010| 65 73 75 6c 74 2e 0d 0a | 1a 01 3b 01 05 b4 44 45 |esult...|..;...DE|
|00003020| 58 c3 44 65 63 72 65 6d | 65 6e 74 20 69 6e 64 65 |X.Decrem|ent inde|
|00003030| 78 20 72 65 67 69 73 74 | 65 72 20 58 20 28 44 45 |x regist|er X (DE|
|00003040| 58 29 20 6f 72 20 69 6e | 64 65 78 20 72 65 67 69 |X) or in|dex regi|
|00003050| 73 74 65 72 20 59 20 28 | 44 45 59 29 2e 0d 0a 1a |ster Y (|DEY)....|
|00003060| 01 3b 01 05 b4 44 45 59 | c3 44 65 63 72 65 6d 65 |.;...DEY|.Decreme|
|00003070| 6e 74 20 69 6e 64 65 78 | 20 72 65 67 69 73 74 65 |nt index| registe|
|00003080| 72 20 58 20 28 44 45 58 | 29 20 6f 72 20 69 6e 64 |r X (DEX|) or ind|
|00003090| 65 78 20 72 65 67 69 73 | 74 65 72 20 59 20 28 44 |ex regis|ter Y (D|
|000030a0| 45 59 29 2e 0d 0a 1a 01 | 41 02 05 b4 45 4f 52 c3 |EY).....|A...EOR.|
|000030b0| 4c 6f 67 69 63 61 6c 6c | 79 20 65 78 63 6c 75 73 |Logicall|y exclus|
|000030c0| 69 76 65 2d 4f 52 20 61 | 20 6d 65 6d 6f 72 79 20 |ive-OR a| memory |
|000030d0| 62 79 74 65 20 28 6f 72 | 20 69 6d 6d 65 64 69 61 |byte (or| immedia|
|000030e0| 74 65 20 64 61 74 61 29 | 20 77 69 74 68 20 74 68 |te data)| with th|
|000030f0| 65 20 0d 0a 41 20 72 65 | 67 69 73 74 65 72 20 61 |e ..A re|gister a|
|00003100| 6e 64 20 73 74 6f 72 65 | 20 74 68 65 20 72 65 73 |nd store| the res|
|00003110| 75 6c 74 20 62 61 63 6b | 20 69 6e 74 6f 20 41 2e |ult back| into A.|
|00003120| 0d 0a 1a 01 3b 02 05 b4 | 49 4e 43 c3 49 6e 63 72 |....;...|INC.Incr|
|00003130| 65 6d 65 6e 74 20 6d 65 | 6d 6f 72 79 20 62 79 74 |ement me|mory byt|
|00003140| 65 2e 20 41 64 64 73 20 | 31 20 74 6f 20 74 68 65 |e. Adds |1 to the|
|00003150| 20 73 70 65 63 69 66 69 | 65 64 20 6f 70 65 72 61 | specifi|ed opera|
|00003160| 6e 64 20 61 6c 73 6f 20 | 0d 0a 73 65 74 74 69 6e |nd also |..settin|
|00003170| 67 20 74 68 65 20 73 74 | 61 74 75 73 20 66 6c 61 |g the st|atus fla|
|00003180| 67 73 20 61 63 63 6f 72 | 64 69 6e 67 20 74 6f 20 |gs accor|ding to |
|00003190| 74 68 65 20 72 65 73 75 | 6c 74 2e 0d 0a 1a 01 3b |the resu|lt.....;|
|000031a0| 01 05 b4 49 4e 58 c3 49 | 6e 63 72 65 6d 65 6e 74 |...INX.I|ncrement|
|000031b0| 20 69 6e 64 65 78 20 72 | 65 67 69 73 74 65 72 20 | index r|egister |
|000031c0| 58 20 28 44 45 58 29 20 | 6f 72 20 69 6e 64 65 78 |X (DEX) |or index|
|000031d0| 20 72 65 67 69 73 74 65 | 72 20 59 20 28 44 45 59 | registe|r Y (DEY|
|000031e0| 29 2e 0d 0a 1a 01 3b 01 | 05 b4 49 4e 59 c3 49 6e |).....;.|..INY.In|
|000031f0| 63 72 65 6d 65 6e 74 20 | 69 6e 64 65 78 20 72 65 |crement |index re|
|00003200| 67 69 73 74 65 72 20 58 | 20 28 44 45 58 29 20 6f |gister X| (DEX) o|
|00003210| 72 20 69 6e 64 65 78 20 | 72 65 67 69 73 74 65 72 |r index |register|
|00003220| 20 59 20 28 44 45 59 29 | 2e 0d 0a 1a 01 40 03 05 | Y (DEY)|.....@..|
|00003230| b4 4a 4d 4c c3 41 20 6e | 65 77 20 61 64 64 72 65 |.JML.A n|ew addre|
|00003240| 73 73 20 69 73 20 6c 6f | 61 64 65 64 20 69 6e 74 |ss is lo|aded int|
|00003250| 6f 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 63 6f |o the pr|ogram co|
|00003260| 75 6e 74 65 72 20 61 6e | 64 20 74 68 65 20 70 72 |unter an|d the pr|
|00003270| 6f 67 72 61 6d 0d 0a 62 | 61 6e 6b 20 72 65 67 69 |ogram..b|ank regi|
|00003280| 73 74 65 72 2e 20 54 68 | 65 20 69 6d 6d 65 64 69 |ster. Th|e immedi|
|00003290| 61 74 65 20 74 77 6f 20 | 62 79 74 65 73 20 61 66 |ate two |bytes af|
|000032a0| 74 65 72 20 74 68 65 20 | 6f 70 63 6f 64 65 20 70 |ter the |opcode p|
|000032b0| 6f 69 6e 74 20 74 6f 0d | 0a 74 68 65 20 74 68 72 |oint to.|.the thr|
|000032c0| 65 65 20 62 79 74 65 73 | 20 6f 66 20 74 68 65 20 |ee bytes| of the |
|000032d0| 6e 65 77 20 61 64 64 72 | 65 73 73 2e 0d 0a 1a 01 |new addr|ess.....|
|000032e0| 41 07 05 b4 4a 4d 50 c3 | 4a 75 6d 70 20 74 6f 20 |A...JMP.|Jump to |
|000032f0| 61 20 73 70 65 63 69 66 | 69 65 64 20 61 62 73 6f |a specif|ied abso|
|00003300| 6c 75 74 65 20 6d 65 6d | 6f 72 79 20 61 64 64 72 |lute mem|ory addr|
|00003310| 65 73 73 2e 20 54 68 69 | 73 20 69 6e 73 74 72 75 |ess. Thi|s instru|
|00003320| 63 74 69 6f 6e 20 0d 0a | 65 6e 61 62 6c 65 73 20 |ction ..|enables |
|00003330| 70 72 6f 67 72 61 6d 20 | 65 78 65 63 75 74 69 6f |program |executio|
|00003340| 6e 20 74 6f 20 62 72 61 | 6e 63 68 20 74 6f 20 61 |n to bra|nch to a|
|00003350| 6e 79 20 61 64 64 72 65 | 73 73 20 77 69 74 68 69 |ny addre|ss withi|
|00003360| 6e 20 74 68 65 20 36 34 | 4b 20 0d 0a 6d 65 6d 6f |n the 64|K ..memo|
|00003370| 72 79 20 61 72 65 61 2e | 0d 0a 09 59 6f 75 20 6d |ry area.|...You m|
|00003380| 61 79 20 61 6c 73 6f 20 | 73 70 65 63 69 66 79 20 |ay also |specify |
|00003390| 27 69 6e 64 69 72 65 63 | 74 27 20 61 64 64 72 65 |'indirec|t' addre|
|000033a0| 73 73 65 73 2c 20 77 68 | 65 72 65 62 79 20 74 68 |sses, wh|ereby th|
|000033b0| 65 20 0d 0a 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |e ..cont|ents of |
|000033c0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 61 64 |the spec|ified ad|
|000033d0| 64 72 65 73 73 20 63 6f | 6e 74 61 69 6e 73 20 74 |dress co|ntains t|
|000033e0| 68 65 20 6a 75 6d 70 20 | 61 64 64 72 65 73 73 2e |he jump |address.|
|000033f0| 20 0d 0a 55 6e 6c 69 6b | 65 20 74 68 65 20 73 74 | ..Unlik|e the st|
|00003400| 61 6e 64 61 72 64 20 36 | 35 30 32 2c 20 69 6e 64 |andard 6|502, ind|
|00003410| 69 72 65 63 74 20 61 64 | 64 72 65 73 73 20 6c 6f |irect ad|dress lo|
|00003420| 61 64 69 6e 67 20 64 6f | 65 73 20 6e 6f 74 20 68 |ading do|es not h|
|00003430| 61 76 65 20 0d 0a 61 6e | 79 20 70 72 6f 62 6c 65 |ave ..an|y proble|
|00003440| 6d 20 77 69 74 68 20 78 | 78 46 46 48 20 62 65 69 |m with x|xFFH bei|
|00003450| 6e 67 20 74 68 65 20 27 | 45 41 27 20 61 64 64 72 |ng the '|EA' addr|
|00003460| 65 73 73 2e 0d 0a 1a 01 | 44 03 05 b4 4a 53 4c c3 |ess.....|D...JSL.|
|00003470| 54 68 65 20 50 43 20 61 | 6e 64 20 70 72 6f 67 72 |The PC a|nd progr|
|00003480| 61 6d 20 62 61 6e 6b 20 | 72 65 67 69 73 74 65 72 |am bank |register|
|00003490| 20 61 72 65 20 70 75 73 | 68 65 64 20 6f 6e 74 6f | are pus|hed onto|
|000034a0| 20 74 68 65 20 73 74 61 | 63 6b 20 61 6e 64 20 61 | the sta|ck and a|
|000034b0| 0d 0a 6e 65 77 20 50 43 | 20 61 6e 64 20 50 42 52 |..new PC| and PBR|
|000034c0| 20 61 72 65 20 6c 6f 61 | 64 65 64 20 66 72 6f 6d | are loa|ded from|
|000034d0| 20 6d 65 6d 6f 72 79 2e | 20 54 68 69 73 20 69 6e | memory.| This in|
|000034e0| 73 74 72 75 63 74 69 6f | 6e 20 61 6c 6c 6f 77 73 |structio|n allows|
|000034f0| 20 61 0d 0a 6a 75 6d 70 | 20 74 6f 20 61 20 73 75 | a..jump| to a su|
|00003500| 62 72 6f 75 74 69 6e 65 | 20 61 74 20 61 6e 79 20 |broutine| at any |
|00003510| 61 64 64 72 65 73 73 20 | 69 6e 20 74 68 65 20 31 |address |in the 1|
|00003520| 36 20 6d 65 67 61 62 79 | 74 65 20 6d 65 6d 6f 72 |6 megaby|te memor|
|00003530| 79 20 73 70 61 63 65 2e | 0d 0a 1a 01 40 03 05 b4 |y space.|....@...|
|00003540| 4a 53 52 c3 4a 75 6d 70 | 73 20 74 6f 20 61 20 73 |JSR.Jump|s to a s|
|00003550| 75 62 72 6f 75 74 69 6e | 65 20 61 64 64 72 65 73 |ubroutin|e addres|
|00003560| 73 20 61 66 74 65 72 20 | 73 61 76 69 6e 67 20 74 |s after |saving t|
|00003570| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 50 43 20 76 |he origi|nal PC v|
|00003580| 61 6c 75 65 20 0d 0a 6f | 6e 74 6f 20 74 68 65 20 |alue ..o|nto the |
|00003590| 73 74 61 63 6b 20 69 6e | 20 70 72 65 70 61 72 61 |stack in| prepara|
|000035a0| 74 69 6f 6e 20 66 6f 72 | 20 74 68 65 20 72 65 74 |tion for| the ret|
|000035b0| 75 72 6e 20 66 72 6f 6d | 20 74 68 65 20 73 75 62 |urn from| the sub|
|000035c0| 72 6f 75 74 69 6e 65 20 | 0d 0a 75 73 69 6e 67 20 |routine |..using |
|000035d0| 74 68 65 20 52 54 53 20 | 69 6e 73 74 72 75 63 74 |the RTS |instruct|
|000035e0| 69 6f 6e 2e 0d 0a 1a 01 | 3d 02 05 b4 4c 44 41 c3 |ion.....|=...LDA.|
|000035f0| 4c 6f 61 64 20 6d 65 6d | 6f 72 79 20 62 79 74 65 |Load mem|ory byte|
|00003600| 20 28 6f 72 20 69 6d 6d | 65 64 69 61 74 65 20 64 | (or imm|ediate d|
|00003610| 61 74 61 29 20 74 6f 20 | 65 69 74 68 65 72 20 74 |ata) to |either t|
|00003620| 68 65 20 41 20 72 65 67 | 69 73 74 65 72 20 0d 0a |he A reg|ister ..|
|00003630| 28 4c 44 41 29 2c 20 69 | 6e 64 65 78 20 58 20 72 |(LDA), i|ndex X r|
|00003640| 65 67 69 73 74 65 72 20 | 28 4c 44 58 29 2c 20 6f |egister |(LDX), o|
|00003650| 72 20 69 6e 64 65 78 20 | 59 20 72 65 67 69 73 74 |r index |Y regist|
|00003660| 65 72 20 28 4c 44 59 29 | 2e 0d 0a 1a 01 3d 02 05 |er (LDY)|.....=..|
|00003670| b4 4c 44 58 c3 4c 6f 61 | 64 20 6d 65 6d 6f 72 79 |.LDX.Loa|d memory|
|00003680| 20 62 79 74 65 20 28 6f | 72 20 69 6d 6d 65 64 69 | byte (o|r immedi|
|00003690| 61 74 65 20 64 61 74 61 | 29 20 74 6f 20 65 69 74 |ate data|) to eit|
|000036a0| 68 65 72 20 74 68 65 20 | 41 20 72 65 67 69 73 74 |her the |A regist|
|000036b0| 65 72 20 0d 0a 28 4c 44 | 41 29 2c 20 69 6e 64 65 |er ..(LD|A), inde|
|000036c0| 78 20 58 20 72 65 67 69 | 73 74 65 72 20 28 4c 44 |x X regi|ster (LD|
|000036d0| 58 29 2c 20 6f 72 20 69 | 6e 64 65 78 20 59 20 72 |X), or i|ndex Y r|
|000036e0| 65 67 69 73 74 65 72 20 | 28 4c 44 59 29 2e 0d 0a |egister |(LDY)...|
|000036f0| 1a 01 3d 02 05 b4 4c 44 | 59 c3 4c 6f 61 64 20 6d |..=...LD|Y.Load m|
|00003700| 65 6d 6f 72 79 20 62 79 | 74 65 20 28 6f 72 20 69 |emory by|te (or i|
|00003710| 6d 6d 65 64 69 61 74 65 | 20 64 61 74 61 29 20 74 |mmediate| data) t|
|00003720| 6f 20 65 69 74 68 65 72 | 20 74 68 65 20 41 20 72 |o either| the A r|
|00003730| 65 67 69 73 74 65 72 20 | 0d 0a 28 4c 44 41 29 2c |egister |..(LDA),|
|00003740| 20 69 6e 64 65 78 20 58 | 20 72 65 67 69 73 74 65 | index X| registe|
|00003750| 72 20 28 4c 44 58 29 2c | 20 6f 72 20 69 6e 64 65 |r (LDX),| or inde|
|00003760| 78 20 59 20 72 65 67 69 | 73 74 65 72 20 28 4c 44 |x Y regi|ster (LD|
|00003770| 59 29 2e 0d 0a 1a 01 41 | 02 05 b4 4c 53 52 c3 4c |Y).....A|...LSR.L|
|00003780| 6f 67 69 63 61 6c 20 73 | 68 69 66 74 20 61 20 6d |ogical s|hift a m|
|00003790| 65 6d 6f 72 79 20 62 79 | 74 65 20 6f 72 20 61 63 |emory by|te or ac|
|000037a0| 63 75 6d 75 6c 61 74 6f | 72 20 6f 6e 65 20 62 69 |cumulato|r one bi|
|000037b0| 74 20 70 6f 73 69 74 69 | 6f 6e 20 0d 0a 72 69 67 |t positi|on ..rig|
|000037c0| 68 74 2e 20 42 69 74 20 | 30 20 69 73 20 73 68 69 |ht. Bit |0 is shi|
|000037d0| 66 74 65 64 20 69 6e 74 | 6f 20 74 68 65 20 63 61 |fted int|o the ca|
|000037e0| 72 72 79 20 66 6c 61 67 | 20 61 6e 64 20 62 69 74 |rry flag| and bit|
|000037f0| 20 37 20 69 73 20 63 6c | 65 61 72 65 64 2e 0d 0a | 7 is cl|eared...|
|00003800| 1a 01 43 08 05 b4 4d 56 | 4e c3 4d 6f 76 65 20 61 |..C...MV|N.Move a|
|00003810| 20 62 6c 6f 63 6b 20 6f | 66 20 6d 65 6d 6f 72 79 | block o|f memory|
|00003820| 20 73 74 61 72 74 69 6e | 67 20 61 74 20 61 20 6c | startin|g at a l|
|00003830| 6f 77 20 61 64 64 72 65 | 73 73 20 61 6e 64 20 65 |ow addre|ss and e|
|00003840| 6e 64 69 6e 67 20 61 74 | 20 61 0d 0a 68 69 67 68 |nding at| a..high|
|00003850| 65 72 20 61 64 64 72 65 | 73 73 2e 20 54 68 65 20 |er addre|ss. The |
|00003860| 59 20 72 65 67 69 73 74 | 65 72 20 63 6f 6e 74 61 |Y regist|er conta|
|00003870| 69 6e 73 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |ins the |destinat|
|00003880| 69 6f 6e 20 61 64 64 72 | 65 73 73 0d 0a 6f 66 20 |ion addr|ess..of |
|00003890| 74 68 65 20 62 6c 6f 63 | 6b 20 61 6e 64 20 74 68 |the bloc|k and th|
|000038a0| 65 20 58 20 72 65 67 69 | 73 74 65 72 20 63 6f 6e |e X regi|ster con|
|000038b0| 74 61 69 6e 73 20 74 68 | 65 20 73 6f 75 72 63 65 |tains th|e source|
|000038c0| 20 61 64 64 72 65 73 73 | 2e 20 41 63 63 2e 0d 0a | address|. Acc...|
|000038d0| 41 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 6e |A contai|ns the n|
|000038e0| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 74 |umber of| bytes t|
|000038f0| 6f 20 6d 6f 76 65 20 6d | 69 6e 75 73 20 6f 6e 65 |o move m|inus one|
|00003900| 2e 20 54 68 65 20 58 20 | 61 6e 64 20 59 0d 0a 72 |. The X |and Y..r|
|00003910| 65 67 69 73 74 65 72 73 | 20 61 72 65 20 69 6e 63 |egisters| are inc|
|00003920| 72 65 6d 65 6e 74 65 64 | 20 61 66 74 65 72 20 65 |remented| after e|
|00003930| 61 63 68 20 69 74 65 72 | 61 74 69 6f 6e 2e 20 54 |ach iter|ation. T|
|00003940| 68 65 20 66 69 72 73 74 | 20 62 79 74 65 0d 0a 61 |he first| byte..a|
|00003950| 66 74 65 72 20 74 68 65 | 20 6f 70 63 6f 64 65 20 |fter the| opcode |
|00003960| 69 73 20 70 75 74 20 69 | 6e 74 6f 20 74 68 65 20 |is put i|nto the |
|00003970| 64 61 74 61 20 62 61 6e | 6b 20 72 65 67 69 73 74 |data ban|k regist|
|00003980| 65 72 20 61 6e 64 20 75 | 73 65 64 20 77 69 74 68 |er and u|sed with|
|00003990| 0d 0a 59 20 74 6f 20 66 | 6f 72 6d 20 74 68 65 20 |..Y to f|orm the |
|000039a0| 32 34 20 62 69 74 20 61 | 64 64 72 65 73 73 20 6f |24 bit a|ddress o|
|000039b0| 66 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |f the de|stinatio|
|000039c0| 6e 2e 20 54 68 65 20 73 | 65 63 6f 6e 64 20 62 79 |n. The s|econd by|
|000039d0| 74 65 20 69 73 0d 0a 75 | 73 65 64 20 61 73 20 74 |te is..u|sed as t|
|000039e0| 68 65 20 64 61 74 61 20 | 62 61 6e 6b 20 61 64 64 |he data |bank add|
|000039f0| 72 65 73 73 20 66 6f 72 | 20 74 68 65 20 73 6f 75 |ress for| the sou|
|00003a00| 72 63 65 2e 0d 0a 1a 01 | 43 08 05 b4 4d 56 50 c3 |rce.....|C...MVP.|
|00003a10| 4d 6f 76 65 20 61 20 62 | 6c 6f 63 6b 20 6f 66 20 |Move a b|lock of |
|00003a20| 6d 65 6d 6f 72 79 20 73 | 74 61 72 74 69 6e 67 20 |memory s|tarting |
|00003a30| 61 74 20 61 20 68 69 67 | 68 20 61 64 64 72 65 73 |at a hig|h addres|
|00003a40| 73 20 61 6e 64 20 65 6e | 64 69 6e 67 20 61 74 20 |s and en|ding at |
|00003a50| 61 0d 0a 6c 6f 77 65 72 | 20 61 64 64 72 65 73 73 |a..lower| address|
|00003a60| 2e 20 54 68 65 20 59 20 | 72 65 67 69 73 74 65 72 |. The Y |register|
|00003a70| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 64 65 | contain|s the de|
|00003a80| 73 74 69 6e 61 74 69 6f | 6e 20 61 64 64 72 65 73 |stinatio|n addres|
|00003a90| 73 0d 0a 6f 66 20 74 68 | 65 20 62 6c 6f 63 6b 20 |s..of th|e block |
|00003aa0| 61 6e 64 20 74 68 65 20 | 58 20 72 65 67 69 73 74 |and the |X regist|
|00003ab0| 65 72 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |er conta|ins the |
|00003ac0| 73 6f 75 72 63 65 20 61 | 64 64 72 65 73 73 2e 20 |source a|ddress. |
|00003ad0| 41 63 63 2e 0d 0a 41 20 | 63 6f 6e 74 61 69 6e 73 |Acc...A |contains|
|00003ae0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00003af0| 79 74 65 73 20 74 6f 20 | 6d 6f 76 65 20 6d 69 6e |ytes to |move min|
|00003b00| 75 73 20 6f 6e 65 2e 20 | 54 68 65 20 58 20 61 6e |us one. |The X an|
|00003b10| 64 20 59 0d 0a 72 65 67 | 69 73 74 65 72 73 20 61 |d Y..reg|isters a|
|00003b20| 72 65 20 64 65 63 72 65 | 6d 65 6e 74 65 64 20 61 |re decre|mented a|
|00003b30| 66 74 65 72 20 65 61 63 | 68 20 69 74 65 72 61 74 |fter eac|h iterat|
|00003b40| 69 6f 6e 2e 20 54 68 65 | 20 66 69 72 73 74 20 62 |ion. The| first b|
|00003b50| 79 74 65 0d 0a 61 66 74 | 65 72 20 74 68 65 20 6f |yte..aft|er the o|
|00003b60| 70 63 6f 64 65 20 69 73 | 20 70 75 74 20 69 6e 74 |pcode is| put int|
|00003b70| 6f 20 74 68 65 20 64 61 | 74 61 20 62 61 6e 6b 20 |o the da|ta bank |
|00003b80| 72 65 67 69 73 74 65 72 | 20 61 6e 64 20 75 73 65 |register| and use|
|00003b90| 64 20 77 69 74 68 0d 0a | 59 20 74 6f 20 66 6f 72 |d with..|Y to for|
|00003ba0| 6d 20 74 68 65 20 32 34 | 20 62 69 74 20 61 64 64 |m the 24| bit add|
|00003bb0| 72 65 73 73 20 6f 66 20 | 74 68 65 20 64 65 73 74 |ress of |the dest|
|00003bc0| 69 6e 61 74 69 6f 6e 2e | 20 54 68 65 20 73 65 63 |ination.| The sec|
|00003bd0| 6f 6e 64 20 62 79 74 65 | 20 69 73 0d 0a 75 73 65 |ond byte| is..use|
|00003be0| 64 20 61 73 20 74 68 65 | 20 64 61 74 61 20 62 61 |d as the| data ba|
|00003bf0| 6e 6b 20 61 64 64 72 65 | 73 73 20 66 6f 72 20 74 |nk addre|ss for t|
|00003c00| 68 65 20 73 6f 75 72 63 | 65 2e 0d 0a 1a 01 3f 02 |he sourc|e.....?.|
|00003c10| 05 b4 4e 4f 50 c3 4e 6f | 20 6f 70 65 72 61 74 69 |..NOP.No| operati|
|00003c20| 6f 6e 2e 20 54 68 65 20 | 70 72 6f 63 65 73 73 6f |on. The |processo|
|00003c30| 72 20 74 61 6b 65 73 20 | 6e 6f 20 61 63 74 69 6f |r takes |no actio|
|00003c40| 6e 20 6f 6e 20 74 68 69 | 73 20 69 6e 73 74 72 75 |n on thi|s instru|
|00003c50| 63 74 69 6f 6e 20 0d 0a | 61 6e 64 20 69 73 20 6f |ction ..|and is o|
|00003c60| 66 74 65 6e 20 75 73 65 | 64 20 74 6f 20 63 72 65 |ften use|d to cre|
|00003c70| 61 74 65 20 73 6d 61 6c | 6c 20 64 65 6c 61 79 73 |ate smal|l delays|
|00003c80| 2e 0d 0a 1a 01 3c 02 05 | b4 4f 52 41 c3 4c 6f 67 |.....<..|.ORA.Log|
|00003c90| 69 63 61 6c 6c 79 20 4f | 52 20 61 20 6d 65 6d 6f |ically O|R a memo|
|00003ca0| 72 79 20 62 79 74 65 20 | 77 69 74 68 20 74 68 65 |ry byte |with the|
|00003cb0| 20 41 20 72 65 67 69 73 | 74 65 72 20 61 6e 64 20 | A regis|ter and |
|00003cc0| 73 74 6f 72 65 20 74 68 | 65 20 0d 0a 72 65 73 75 |store th|e ..resu|
|00003cd0| 6c 74 20 62 61 63 6b 20 | 69 6e 74 6f 20 41 2e 0d |lt back |into A..|
|00003ce0| 0a 1a 01 41 01 05 b4 50 | 45 41 c3 50 75 73 68 20 |...A...P|EA.Push |
|00003cf0| 65 66 66 65 63 74 69 76 | 65 20 61 62 73 6f 6c 75 |effectiv|e absolu|
|00003d00| 74 65 20 61 64 64 72 65 | 73 73 2f 49 6d 6d 65 64 |te addre|ss/Immed|
|00003d10| 69 61 74 65 20 64 61 74 | 61 20 77 6f 72 64 20 6f |iate dat|a word o|
|00003d20| 6e 20 74 68 65 20 53 74 | 61 63 6b 2e 0d 0a 1a 01 |n the St|ack.....|
|00003d30| 41 04 05 b4 50 45 49 c3 | 54 68 65 20 62 79 74 65 |A...PEI.|The byte|
|00003d40| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 66 6f 6c | immedia|tely fol|
|00003d50| 6c 6f 77 69 6e 67 20 74 | 68 65 20 6f 70 63 6f 64 |lowing t|he opcod|
|00003d60| 65 20 61 64 64 65 64 20 | 74 6f 20 74 68 65 20 64 |e added |to the d|
|00003d70| 69 72 65 63 74 0d 0a 72 | 65 67 69 73 74 65 72 20 |irect..r|egister |
|00003d80| 28 44 29 20 61 6e 64 20 | 74 68 65 20 44 20 72 65 |(D) and |the D re|
|00003d90| 67 69 73 74 65 72 20 69 | 73 20 75 73 65 64 20 61 |gister i|s used a|
|00003da0| 73 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |s a poin|ter to t|
|00003db0| 77 6f 20 62 79 74 65 73 | 0d 0a 74 6f 20 62 65 20 |wo bytes|..to be |
|00003dc0| 70 75 74 20 6f 6e 20 74 | 68 65 20 73 74 61 63 6b |put on t|he stack|
|00003dd0| 2e 20 54 68 65 20 44 20 | 72 65 67 69 73 74 65 72 |. The D |register|
|00003de0| 20 69 73 20 6e 6f 74 20 | 63 68 61 6e 67 65 64 20 | is not |changed |
|00003df0| 61 6e 64 20 74 68 65 20 | 74 77 6f 0d 0a 62 79 74 |and the |two..byt|
|00003e00| 65 73 20 6d 75 73 74 20 | 62 65 20 69 6e 20 62 61 |es must |be in ba|
|00003e10| 6e 6b 20 7a 65 72 6f 2e | 0d 0a 1a 01 30 01 05 b4 |nk zero.|....0...|
|00003e20| 50 45 52 c3 50 55 73 68 | 20 65 66 66 65 63 74 69 |PER.PUsh| effecti|
|00003e30| 76 65 20 50 43 20 72 65 | 6c 61 74 69 76 65 20 61 |ve PC re|lative a|
|00003e40| 64 64 72 65 73 73 20 6f | 6e 20 74 68 65 20 73 74 |ddress o|n the st|
|00003e50| 61 63 6b 2e 0d 0a 1a 01 | 3f 02 05 b4 50 48 41 c3 |ack.....|?...PHA.|
|00003e60| 50 75 73 68 20 28 73 61 | 76 65 29 20 74 68 65 20 |Push (sa|ve) the |
|00003e70| 41 20 28 50 48 41 29 2c | 20 53 52 20 28 50 48 50 |A (PHA),| SR (PHP|
|00003e80| 29 2c 20 58 20 28 50 48 | 58 29 2c 20 6f 72 20 59 |), X (PH|X), or Y|
|00003e90| 20 28 50 48 59 29 20 72 | 65 67 69 73 74 65 72 20 | (PHY) r|egister |
|00003ea0| 0d 0a 6f 6e 74 6f 20 74 | 68 65 20 73 79 73 74 65 |..onto t|he syste|
|00003eb0| 6d 20 73 74 61 63 6b 20 | 61 64 64 72 65 73 73 65 |m stack |addresse|
|00003ec0| 64 20 62 79 20 74 68 65 | 20 53 50 20 72 65 67 69 |d by the| SP regi|
|00003ed0| 73 74 65 72 2e 0d 0a 1a | 01 2f 01 05 b4 50 48 42 |ster....|./...PHB|
|00003ee0| c3 50 75 73 68 20 74 68 | 65 20 64 61 74 61 20 62 |.Push th|e data b|
|00003ef0| 61 6e 6b 20 72 65 67 69 | 73 74 65 72 20 28 44 42 |ank regi|ster (DB|
|00003f00| 52 29 20 6f 6e 20 74 68 | 65 20 73 74 61 63 6b 2e |R) on th|e stack.|
|00003f10| 0d 0a 1a 01 2c 01 05 b4 | 50 48 44 c3 50 75 73 68 |....,...|PHD.Push|
|00003f20| 20 74 68 65 20 64 69 72 | 65 63 74 20 72 65 67 69 | the dir|ect regi|
|00003f30| 73 74 65 72 20 28 44 29 | 20 6f 6e 20 74 68 65 20 |ster (D)| on the |
|00003f40| 73 74 61 63 6b 2e 0d 0a | 1a 01 32 01 05 b4 50 48 |stack...|..2...PH|
|00003f50| 4b c3 50 75 73 68 20 74 | 68 65 20 70 72 6f 67 72 |K.Push t|he progr|
|00003f60| 61 6d 20 62 61 6e 6b 20 | 72 65 67 69 73 74 65 72 |am bank |register|
|00003f70| 20 28 50 42 52 29 20 6f | 6e 20 74 68 65 20 73 74 | (PBR) o|n the st|
|00003f80| 61 63 6b 2e 0d 0a 1a 01 | 3f 02 05 b4 50 48 50 c3 |ack.....|?...PHP.|
|00003f90| 50 75 73 68 20 28 73 61 | 76 65 29 20 74 68 65 20 |Push (sa|ve) the |
|00003fa0| 41 20 28 50 48 41 29 2c | 20 53 52 20 28 50 48 50 |A (PHA),| SR (PHP|
|00003fb0| 29 2c 20 58 20 28 50 48 | 58 29 2c 20 6f 72 20 59 |), X (PH|X), or Y|
|00003fc0| 20 28 50 48 59 29 20 72 | 65 67 69 73 74 65 72 20 | (PHY) r|egister |
|00003fd0| 0d 0a 6f 6e 74 6f 20 74 | 68 65 20 73 79 73 74 65 |..onto t|he syste|
|00003fe0| 6d 20 73 74 61 63 6b 20 | 61 64 64 72 65 73 73 65 |m stack |addresse|
|00003ff0| 64 20 62 79 20 74 68 65 | 20 53 50 20 72 65 67 69 |d by the| SP regi|
|00004000| 73 74 65 72 2e 0d 0a 1a | 01 3f 02 05 b4 50 48 58 |ster....|.?...PHX|
|00004010| c3 50 75 73 68 20 28 73 | 61 76 65 29 20 74 68 65 |.Push (s|ave) the|
|00004020| 20 41 20 28 50 48 41 29 | 2c 20 53 52 20 28 50 48 | A (PHA)|, SR (PH|
|00004030| 50 29 2c 20 58 20 28 50 | 48 58 29 2c 20 6f 72 20 |P), X (P|HX), or |
|00004040| 59 20 28 50 48 59 29 20 | 72 65 67 69 73 74 65 72 |Y (PHY) |register|
|00004050| 20 0d 0a 6f 6e 74 6f 20 | 74 68 65 20 73 79 73 74 | ..onto |the syst|
|00004060| 65 6d 20 73 74 61 63 6b | 20 61 64 64 72 65 73 73 |em stack| address|
|00004070| 65 64 20 62 79 20 74 68 | 65 20 53 50 20 72 65 67 |ed by th|e SP reg|
|00004080| 69 73 74 65 72 2e 0d 0a | 1a 01 3f 02 05 b4 50 48 |ister...|..?...PH|
|00004090| 59 c3 50 75 73 68 20 28 | 73 61 76 65 29 20 74 68 |Y.Push (|save) th|
|000040a0| 65 20 41 20 28 50 48 41 | 29 2c 20 53 52 20 28 50 |e A (PHA|), SR (P|
|000040b0| 48 50 29 2c 20 58 20 28 | 50 48 58 29 2c 20 6f 72 |HP), X (|PHX), or|
|000040c0| 20 59 20 28 50 48 59 29 | 20 72 65 67 69 73 74 65 | Y (PHY)| registe|
|000040d0| 72 20 0d 0a 6f 6e 74 6f | 20 74 68 65 20 73 79 73 |r ..onto| the sys|
|000040e0| 74 65 6d 20 73 74 61 63 | 6b 20 61 64 64 72 65 73 |tem stac|k addres|
|000040f0| 73 65 64 20 62 79 20 74 | 68 65 20 53 50 20 72 65 |sed by t|he SP re|
|00004100| 67 69 73 74 65 72 2e 0d | 0a 1a 01 3f 02 05 b4 50 |gister..|...?...P|
|00004110| 4c 41 c3 50 75 6c 6c 20 | 28 6c 6f 61 64 29 20 74 |LA.Pull |(load) t|
|00004120| 68 65 20 41 20 28 50 48 | 41 29 2c 20 53 52 20 28 |he A (PH|A), SR (|
|00004130| 50 48 50 29 2c 20 58 20 | 28 50 48 58 29 2c 20 6f |PHP), X |(PHX), o|
|00004140| 72 20 59 20 28 50 48 59 | 29 20 72 65 67 69 73 74 |r Y (PHY|) regist|
|00004150| 65 72 20 0d 0a 66 72 6f | 6d 20 74 68 65 20 73 79 |er ..fro|m the sy|
|00004160| 73 74 65 6d 20 73 74 61 | 63 6b 20 61 64 64 72 65 |stem sta|ck addre|
|00004170| 73 73 65 64 20 62 79 20 | 74 68 65 20 53 50 20 72 |ssed by |the SP r|
|00004180| 65 67 69 73 74 65 72 2e | 0d 0a 1a 01 3e 02 05 b4 |egister.|....>...|
|00004190| 50 4c 42 c3 50 75 6c 6c | 20 28 6c 6f 61 64 29 20 |PLB.Pull| (load) |
|000041a0| 74 68 65 20 64 61 74 61 | 20 62 61 6e 6b 20 72 65 |the data| bank re|
|000041b0| 67 69 73 74 65 72 20 28 | 44 42 52 29 20 66 72 6f |gister (|DBR) fro|
|000041c0| 6d 20 74 68 65 20 73 79 | 73 74 65 6d 20 73 74 61 |m the sy|stem sta|
|000041d0| 63 6b 0d 0a 61 64 64 72 | 65 73 73 65 64 20 62 79 |ck..addr|essed by|
|000041e0| 20 74 68 65 20 53 50 20 | 72 65 67 69 73 74 65 72 | the SP |register|
|000041f0| 2e 0d 0a 1a 01 39 02 05 | b4 50 4c 44 c3 50 75 6c |.....9..|.PLD.Pul|
|00004200| 6c 20 28 6c 6f 61 64 29 | 20 74 68 65 20 64 69 72 |l (load)| the dir|
|00004210| 65 63 74 20 72 65 67 69 | 73 74 65 72 20 28 44 29 |ect regi|ster (D)|
|00004220| 20 66 72 6f 6d 20 74 68 | 65 20 73 79 73 74 65 6d | from th|e system|
|00004230| 20 73 74 61 63 6b 0d 0a | 61 64 64 72 65 73 73 65 | stack..|addresse|
|00004240| 64 20 62 79 20 74 68 65 | 20 53 50 20 72 65 67 69 |d by the| SP regi|
|00004250| 73 74 65 72 2e 0d 0a 1a | 01 3f 02 05 b4 50 4c 50 |ster....|.?...PLP|
|00004260| c3 50 75 6c 6c 20 28 6c | 6f 61 64 29 20 74 68 65 |.Pull (l|oad) the|
|00004270| 20 41 20 28 50 48 41 29 | 2c 20 53 52 20 28 50 48 | A (PHA)|, SR (PH|
|00004280| 50 29 2c 20 58 20 28 50 | 48 58 29 2c 20 6f 72 20 |P), X (P|HX), or |
|00004290| 59 20 28 50 48 59 29 20 | 72 65 67 69 73 74 65 72 |Y (PHY) |register|
|000042a0| 20 0d 0a 66 72 6f 6d 20 | 74 68 65 20 73 79 73 74 | ..from |the syst|
|000042b0| 65 6d 20 73 74 61 63 6b | 20 61 64 64 72 65 73 73 |em stack| address|
|000042c0| 65 64 20 62 79 20 74 68 | 65 20 53 50 20 72 65 67 |ed by th|e SP reg|
|000042d0| 69 73 74 65 72 2e 0d 0a | 1a 01 3f 02 05 b4 50 4c |ister...|..?...PL|
|000042e0| 58 c3 50 75 6c 6c 20 28 | 6c 6f 61 64 29 20 74 68 |X.Pull (|load) th|
|000042f0| 65 20 41 20 28 50 48 41 | 29 2c 20 53 52 20 28 50 |e A (PHA|), SR (P|
|00004300| 48 50 29 2c 20 58 20 28 | 50 48 58 29 2c 20 6f 72 |HP), X (|PHX), or|
|00004310| 20 59 20 28 50 48 59 29 | 20 72 65 67 69 73 74 65 | Y (PHY)| registe|
|00004320| 72 20 0d 0a 66 72 6f 6d | 20 74 68 65 20 73 79 73 |r ..from| the sys|
|00004330| 74 65 6d 20 73 74 61 63 | 6b 20 61 64 64 72 65 73 |tem stac|k addres|
|00004340| 73 65 64 20 62 79 20 74 | 68 65 20 53 50 20 72 65 |sed by t|he SP re|
|00004350| 67 69 73 74 65 72 2e 0d | 0a 1a 01 3f 02 05 b4 50 |gister..|...?...P|
|00004360| 4c 59 c3 50 75 6c 6c 20 | 28 6c 6f 61 64 29 20 74 |LY.Pull |(load) t|
|00004370| 68 65 20 41 20 28 50 48 | 41 29 2c 20 53 52 20 28 |he A (PH|A), SR (|
|00004380| 50 48 50 29 2c 20 58 20 | 28 50 48 58 29 2c 20 6f |PHP), X |(PHX), o|
|00004390| 72 20 59 20 28 50 48 59 | 29 20 72 65 67 69 73 74 |r Y (PHY|) regist|
|000043a0| 65 72 20 0d 0a 66 72 6f | 6d 20 74 68 65 20 73 79 |er ..fro|m the sy|
|000043b0| 73 74 65 6d 20 73 74 61 | 63 6b 20 61 64 64 72 65 |stem sta|ck addre|
|000043c0| 73 73 65 64 20 62 79 20 | 74 68 65 20 53 50 20 72 |ssed by |the SP r|
|000043d0| 65 67 69 73 74 65 72 2e | 0d 0a 1a 01 2c 01 05 b4 |egister.|....,...|
|000043e0| 52 45 50 c3 52 65 73 65 | 74 20 70 72 6f 63 65 73 |REP.Rese|t proces|
|000043f0| 73 6f 72 20 73 74 61 74 | 75 73 20 62 69 74 2e 0d |sor stat|us bit..|
|00004400| 0a 1a 01 41 04 05 b4 52 | 4f 4c c3 52 6f 74 61 74 |...A...R|OL.Rotat|
|00004410| 65 20 61 20 6d 65 6d 6f | 72 79 20 62 79 74 65 20 |e a memo|ry byte |
|00004420| 6f 72 20 61 63 63 75 6d | 75 6c 61 74 6f 72 20 6f |or accum|ulator o|
|00004430| 6e 65 20 62 69 74 20 70 | 6f 73 69 74 69 6f 6e 20 |ne bit p|osition |
|00004440| 6c 65 66 74 20 74 68 72 | 6f 75 67 68 20 0d 0a 74 |left thr|ough ..t|
|00004450| 68 65 20 63 61 72 72 79 | 20 66 6c 61 67 2e 20 42 |he carry| flag. B|
|00004460| 69 74 20 37 20 69 73 20 | 73 68 69 66 74 65 64 20 |it 7 is |shifted |
|00004470| 69 6e 74 6f 20 74 68 65 | 20 63 61 72 72 79 20 66 |into the| carry f|
|00004480| 6c 61 67 20 61 6e 64 20 | 74 68 65 20 0d 0a 6f 72 |lag and |the ..or|
|00004490| 69 67 69 6e 61 6c 20 63 | 61 72 72 79 20 66 6c 61 |iginal c|arry fla|
|000044a0| 67 20 69 73 20 73 68 69 | 66 74 65 64 20 69 6e 74 |g is shi|fted int|
|000044b0| 6f 20 62 69 74 20 30 2e | 20 54 68 69 73 20 69 73 |o bit 0.| This is|
|000044c0| 20 6f 66 74 65 6e 20 72 | 65 66 65 72 72 65 64 20 | often r|eferred |
|000044d0| 0d 0a 74 6f 20 61 73 20 | 39 20 62 69 74 20 72 6f |..to as |9 bit ro|
|000044e0| 74 61 74 69 6f 6e 2e 0d | 0a 1a 01 40 03 05 b4 52 |tation..|...@...R|
|000044f0| 4f 52 c3 52 6f 74 61 74 | 65 20 61 20 6d 65 6d 6f |OR.Rotat|e a memo|
|00004500| 72 79 20 62 79 74 65 20 | 6f 72 20 61 63 63 75 6d |ry byte |or accum|
|00004510| 75 6c 61 74 6f 72 20 6f | 6e 65 20 62 69 74 20 70 |ulator o|ne bit p|
|00004520| 6f 73 69 74 69 6f 6e 20 | 72 69 67 68 74 20 0d 0a |osition |right ..|
|00004530| 74 68 72 6f 75 67 68 20 | 74 68 65 20 63 61 72 72 |through |the carr|
|00004540| 79 20 66 6c 61 67 2e 20 | 42 69 74 20 30 20 69 73 |y flag. |Bit 0 is|
|00004550| 20 73 68 69 66 74 65 64 | 20 69 6e 74 6f 20 74 68 | shifted| into th|
|00004560| 65 20 63 61 72 72 79 20 | 66 6c 61 67 20 61 6e 64 |e carry |flag and|
|00004570| 20 0d 0a 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 | ..the o|riginal |
|00004580| 63 61 72 72 79 20 66 6c | 61 67 20 69 73 20 73 68 |carry fl|ag is sh|
|00004590| 69 66 74 65 64 20 69 6e | 74 6f 20 62 69 74 20 37 |ifted in|to bit 7|
|000045a0| 2e 0d 0a 1a 01 41 05 05 | b4 52 54 49 c3 52 65 74 |.....A..|.RTI.Ret|
|000045b0| 75 72 6e 20 66 72 6f 6d | 20 69 6e 74 65 72 72 75 |urn from| interru|
|000045c0| 70 74 20 70 72 6f 63 65 | 64 75 72 65 2e 20 54 68 |pt proce|dure. Th|
|000045d0| 69 73 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 73 |is instr|uction s|
|000045e0| 68 6f 75 6c 64 20 62 65 | 20 75 73 65 64 20 0d 0a |hould be| used ..|
|000045f0| 74 6f 20 74 65 72 6d 69 | 6e 61 74 65 20 61 20 70 |to termi|nate a p|
|00004600| 72 6f 63 65 64 75 72 65 | 20 77 68 69 63 68 20 69 |rocedure| which i|
|00004610| 73 20 69 6e 76 6f 6b 65 | 64 20 62 79 20 74 68 65 |s invoke|d by the|
|00004620| 20 36 35 43 38 31 36 20 | 69 6e 74 65 72 72 75 70 | 65C816 |interrup|
|00004630| 74 20 0d 0a 76 65 63 74 | 6f 72 20 70 72 6f 63 65 |t ..vect|or proce|
|00004640| 73 73 2e 20 49 74 20 72 | 65 74 75 72 6e 73 20 74 |ss. It r|eturns t|
|00004650| 68 65 20 73 74 61 74 75 | 73 20 72 65 67 69 73 74 |he statu|s regist|
|00004660| 65 72 20 66 72 6f 6d 20 | 74 68 65 20 73 74 61 63 |er from |the stac|
|00004670| 6b 20 0d 0a 62 65 66 6f | 72 65 20 72 65 74 75 72 |k ..befo|re retur|
|00004680| 6e 69 6e 67 20 74 6f 20 | 74 68 65 20 6e 65 78 74 |ning to |the next|
|00004690| 20 70 72 6f 67 72 61 6d | 20 69 6e 73 74 72 75 63 | program| instruc|
|000046a0| 74 69 6f 6e 20 77 68 69 | 63 68 20 77 61 73 20 0d |tion whi|ch was .|
|000046b0| 0a 69 6e 74 65 72 72 75 | 70 74 65 64 2e 0d 0a 1a |.interru|pted....|
|000046c0| 01 42 05 05 b4 52 54 4c | c3 52 65 74 75 72 6e 20 |.B...RTL|.Return |
|000046d0| 66 72 6f 6d 20 73 75 62 | 72 6f 75 74 69 6e 65 20 |from sub|routine |
|000046e0| 6c 6f 6e 67 2e 20 45 78 | 69 74 73 20 61 20 70 72 |long. Ex|its a pr|
|000046f0| 6f 63 65 64 75 72 65 20 | 69 6e 76 6f 6b 65 64 20 |ocedure |invoked |
|00004700| 62 79 20 74 68 65 20 4a | 53 4c 20 0d 0a 69 6e 73 |by the J|SL ..ins|
|00004710| 74 72 75 63 74 69 6f 6e | 73 20 62 79 20 27 70 75 |truction|s by 'pu|
|00004720| 6c 6c 69 6e 67 27 20 61 | 20 32 34 20 62 69 74 20 |lling' a| 24 bit |
|00004730| 77 6f 72 64 20 66 72 6f | 6d 20 74 68 65 20 73 79 |word fro|m the sy|
|00004740| 73 74 65 6d 20 73 74 61 | 63 6b 20 28 53 50 29 0d |stem sta|ck (SP).|
|00004750| 0a 61 6e 64 20 70 6c 61 | 63 69 6e 67 20 74 68 65 |.and pla|cing the|
|00004760| 20 61 64 64 72 65 73 73 | 20 69 6e 74 6f 20 74 68 | address| into th|
|00004770| 65 20 50 43 20 72 65 67 | 69 73 74 65 72 20 61 6e |e PC reg|ister an|
|00004780| 64 20 50 42 52 2c 20 74 | 68 75 73 20 63 61 75 73 |d PBR, t|hus caus|
|00004790| 69 6e 67 0d 0a 74 68 65 | 20 69 6e 73 74 72 75 63 |ing..the| instruc|
|000047a0| 74 69 6f 6e 20 77 68 69 | 63 68 20 66 6f 6c 6c 6f |tion whi|ch follo|
|000047b0| 77 65 64 20 74 68 65 20 | 63 61 6c 6c 69 6e 67 20 |wed the |calling |
|000047c0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 74 6f 20 62 |instruct|ion to b|
|000047d0| 65 0d 0a 65 78 65 63 75 | 74 65 64 2e 0d 0a 1a 01 |e..execu|ted.....|
|000047e0| 3f 05 05 b4 52 54 53 c3 | 52 65 74 75 72 6e 20 66 |?...RTS.|Return f|
|000047f0| 72 6f 6d 20 73 75 62 72 | 6f 75 74 69 6e 65 2e 20 |rom subr|outine. |
|00004800| 45 78 69 74 73 20 61 20 | 70 72 6f 63 65 64 75 72 |Exits a |procedur|
|00004810| 65 20 69 6e 76 6f 6b 65 | 64 20 62 79 20 74 68 65 |e invoke|d by the|
|00004820| 20 4a 53 52 20 0d 0a 69 | 6e 73 74 72 75 63 74 69 | JSR ..i|nstructi|
|00004830| 6f 6e 73 20 62 79 20 27 | 70 75 6c 6c 69 6e 67 27 |ons by '|pulling'|
|00004840| 20 61 20 77 6f 72 64 20 | 66 72 6f 6d 20 74 68 65 | a word |from the|
|00004850| 20 73 79 73 74 65 6d 20 | 73 74 61 63 6b 20 28 53 | system |stack (S|
|00004860| 50 29 20 61 6e 64 20 0d | 0a 70 6c 61 63 69 6e 67 |P) and .|.placing|
|00004870| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 69 6e 74 | the add|ress int|
|00004880| 6f 20 74 68 65 20 50 43 | 20 72 65 67 69 73 74 65 |o the PC| registe|
|00004890| 72 2c 20 74 68 75 73 20 | 63 61 75 73 69 6e 67 20 |r, thus |causing |
|000048a0| 74 68 65 20 0d 0a 69 6e | 73 74 72 75 63 74 69 6f |the ..in|structio|
|000048b0| 6e 20 77 68 69 63 68 20 | 66 6f 6c 6c 6f 77 65 64 |n which |followed|
|000048c0| 20 74 68 65 20 63 61 6c | 6c 69 6e 67 20 69 6e 73 | the cal|ling ins|
|000048d0| 74 72 75 63 74 69 6f 6e | 20 74 6f 20 62 65 20 0d |truction| to be .|
|000048e0| 0a 65 78 65 63 75 74 65 | 64 2e 0d 0a 1a 01 40 03 |.execute|d.....@.|
|000048f0| 05 b4 53 42 43 c3 53 75 | 62 74 72 61 63 74 20 6d |..SBC.Su|btract m|
|00004900| 65 6d 6f 72 79 20 62 79 | 74 65 20 28 6f 72 20 69 |emory by|te (or i|
|00004910| 6d 6d 65 64 69 61 74 65 | 20 64 61 74 61 29 20 61 |mmediate| data) a|
|00004920| 6e 64 20 63 61 72 72 79 | 20 66 6c 61 67 20 66 72 |nd carry| flag fr|
|00004930| 6f 6d 20 74 68 65 20 0d | 0a 41 20 72 65 67 69 73 |om the .|.A regis|
|00004940| 74 65 72 2e 20 53 74 6f | 72 65 20 74 68 65 20 72 |ter. Sto|re the r|
|00004950| 65 73 75 6c 74 20 62 61 | 63 6b 20 69 6e 74 6f 20 |esult ba|ck into |
|00004960| 41 2e 20 2a 41 6c 73 6f | 20 73 65 65 20 43 4c 44 |A. *Also| see CLD|
|00004970| 2f 53 45 44 20 0d 0a 69 | 6e 73 74 72 75 63 74 69 |/SED ..i|nstructi|
|00004980| 6f 6e 73 2e 0d 0a 1a 01 | 2c 01 05 b4 53 45 43 c3 |ons.....|,...SEC.|
|00004990| 53 65 74 20 63 61 72 72 | 79 20 66 6c 61 67 2e 20 |Set carr|y flag. |
|000049a0| 54 68 65 20 43 20 66 6c | 61 67 20 69 73 20 73 65 |The C fl|ag is se|
|000049b0| 74 20 74 6f 20 27 31 27 | 2e 0d 0a 1a 01 41 03 05 |t to '1'|.....A..|
|000049c0| b4 53 45 44 c3 53 65 74 | 20 64 65 63 69 6d 61 6c |.SED.Set| decimal|
|000049d0| 20 6d 6f 64 65 20 66 6c | 61 67 2e 20 50 6c 61 63 | mode fl|ag. Plac|
|000049e0| 65 73 20 74 68 65 20 41 | 44 43 2f 53 42 43 20 69 |es the A|DC/SBC i|
|000049f0| 6e 73 74 72 75 63 74 69 | 6f 6e 73 20 69 6e 74 6f |nstructi|ons into|
|00004a00| 20 61 20 42 43 44 20 0d | 0a 61 72 69 74 68 6d 65 | a BCD .|.arithme|
|00004a10| 74 69 63 20 6d 6f 64 65 | 20 77 68 65 72 65 62 79 |tic mode| whereby|
|00004a20| 20 62 6f 74 68 20 6f 70 | 65 72 61 6e 64 73 20 61 | both op|erands a|
|00004a30| 6e 64 20 74 68 65 20 72 | 65 73 75 6c 74 20 61 72 |nd the r|esult ar|
|00004a40| 65 20 76 61 6c 69 64 20 | 0d 0a 42 43 44 20 76 61 |e valid |..BCD va|
|00004a50| 6c 75 65 73 2e 0d 0a 1a | 01 3c 01 05 b4 53 45 49 |lues....|.<...SEI|
|00004a60| c3 53 65 74 20 28 64 69 | 73 61 62 6c 65 29 20 6d |.Set (di|sable) m|
|00004a70| 61 73 6b 61 62 6c 65 20 | 69 6e 74 65 72 72 75 70 |askable |interrup|
|00004a80| 74 73 2e 20 54 68 65 20 | 49 20 66 6c 61 67 20 69 |ts. The |I flag i|
|00004a90| 73 20 73 65 74 20 74 6f | 20 27 31 27 2e 0d 0a 1a |s set to| '1'....|
|00004aa0| 01 2c 01 05 b4 53 45 50 | c3 53 65 74 20 70 72 6f |.,...SEP|.Set pro|
|00004ab0| 63 65 73 73 6f 72 20 73 | 74 61 74 75 73 20 62 69 |cessor s|tatus bi|
|00004ac0| 74 2e 0d 0a 1a 01 41 02 | 05 b4 53 54 41 c3 53 74 |t.....A.|..STA.St|
|00004ad0| 6f 72 65 20 61 20 73 70 | 65 63 69 66 69 65 64 20 |ore a sp|ecified |
|00004ae0| 72 65 67 69 73 74 65 72 | 20 69 6e 74 6f 20 6d 65 |register| into me|
|00004af0| 6d 6f 72 79 2e 20 54 68 | 65 20 72 65 67 69 73 74 |mory. Th|e regist|
|00004b00| 65 72 20 74 6f 20 62 65 | 20 73 74 6f 72 65 64 20 |er to be| stored |
|00004b10| 0d 0a 69 73 20 69 6d 70 | 6c 69 65 64 20 62 79 20 |..is imp|lied by |
|00004b20| 74 68 65 20 6f 70 65 72 | 61 74 6f 72 2e 0d 0a 1a |the oper|ator....|
|00004b30| 01 43 01 05 b4 53 54 50 | c3 53 74 6f 70 20 74 68 |.C...STP|.Stop th|
|00004b40| 65 20 63 6c 6f 63 6b 2e | 20 54 68 65 20 70 72 6f |e clock.| The pro|
|00004b50| 63 65 73 73 6f 72 20 61 | 6e 64 20 63 6c 6f 63 6b |cessor a|nd clock|
|00004b60| 20 73 74 6f 70 20 75 6e | 74 69 6c 20 61 20 72 65 | stop un|til a re|
|00004b70| 73 65 74 20 69 73 20 64 | 6f 6e 65 2e 0d 0a 1a 01 |set is d|one.....|
|00004b80| 41 02 05 b4 53 54 58 c3 | 53 74 6f 72 65 20 61 20 |A...STX.|Store a |
|00004b90| 73 70 65 63 69 66 69 65 | 64 20 72 65 67 69 73 74 |specifie|d regist|
|00004ba0| 65 72 20 69 6e 74 6f 20 | 6d 65 6d 6f 72 79 2e 20 |er into |memory. |
|00004bb0| 54 68 65 20 72 65 67 69 | 73 74 65 72 20 74 6f 20 |The regi|ster to |
|00004bc0| 62 65 20 73 74 6f 72 65 | 64 20 0d 0a 69 73 20 69 |be store|d ..is i|
|00004bd0| 6d 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 6f 70 |mplied b|y the op|
|00004be0| 65 72 61 74 6f 72 2e 0d | 0a 1a 01 41 02 05 b4 53 |erator..|...A...S|
|00004bf0| 54 59 c3 53 74 6f 72 65 | 20 61 20 73 70 65 63 69 |TY.Store| a speci|
|00004c00| 66 69 65 64 20 72 65 67 | 69 73 74 65 72 20 69 6e |fied reg|ister in|
|00004c10| 74 6f 20 6d 65 6d 6f 72 | 79 2e 20 54 68 65 20 72 |to memor|y. The r|
|00004c20| 65 67 69 73 74 65 72 20 | 74 6f 20 62 65 20 73 74 |egister |to be st|
|00004c30| 6f 72 65 64 20 0d 0a 69 | 73 20 69 6d 70 6c 69 65 |ored ..i|s implie|
|00004c40| 64 20 62 79 20 74 68 65 | 20 6f 70 65 72 61 74 6f |d by the| operato|
|00004c50| 72 2e 0d 0a 1a 01 2c 01 | 05 b4 53 54 5a c3 53 74 |r.....,.|..STZ.St|
|00004c60| 6f 72 65 20 61 20 62 79 | 74 65 20 76 61 6c 75 65 |ore a by|te value|
|00004c70| 20 6f 66 20 30 30 48 20 | 69 6e 74 6f 20 6d 65 6d | of 00H |into mem|
|00004c80| 6f 72 79 2e 0d 0a 1a 01 | 41 06 05 b4 54 52 42 c3 |ory.....|A...TRB.|
|00004c90| 54 65 73 74 2d 41 4e 44 | 20 61 20 73 70 65 63 69 |Test-AND| a speci|
|00004ca0| 66 69 65 64 20 27 70 61 | 67 65 20 7a 65 72 6f 27 |fied 'pa|ge zero'|
|00004cb0| 20 6d 65 6d 6f 72 79 20 | 62 79 74 65 20 77 69 74 | memory |byte wit|
|00004cc0| 68 20 74 68 65 20 41 20 | 72 65 67 69 73 74 65 72 |h the A |register|
|00004cd0| 20 0d 0a 61 6e 64 20 73 | 65 74 20 74 68 65 20 27 | ..and s|et the '|
|00004ce0| 5a 20 66 6c 61 67 27 20 | 61 63 63 6f 72 64 69 6e |Z flag' |accordin|
|00004cf0| 67 6c 79 2c 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |gly, fol|lowed by|
|00004d00| 20 72 65 73 65 74 74 69 | 6e 67 20 28 52 4d 42 6e | resetti|ng (RMBn|
|00004d10| 29 20 6f 72 20 0d 0a 73 | 65 74 74 69 6e 67 20 28 |) or ..s|etting (|
|00004d20| 53 4d 42 6e 29 20 74 68 | 65 20 74 65 73 74 65 64 |SMBn) th|e tested|
|00004d30| 20 6d 65 6d 6f 72 79 20 | 6c 6f 63 61 74 69 6f 6e | memory |location|
|00004d40| 2e 0d 0a 09 54 68 69 73 | 20 69 73 20 73 69 6d 69 |....This| is simi|
|00004d50| 6c 61 72 20 74 6f 20 42 | 49 54 20 62 75 74 20 73 |lar to B|IT but s|
|00004d60| 74 6f 72 65 73 20 74 68 | 65 20 72 65 73 75 6c 74 |tores th|e result|
|00004d70| 20 62 61 63 6b 20 74 6f | 20 74 68 65 20 0d 0a 6d | back to| the ..m|
|00004d80| 65 6d 6f 72 79 20 6c 6f | 63 61 74 69 6f 6e 2c 20 |emory lo|cation, |
|00004d90| 68 61 73 20 66 65 77 65 | 72 20 61 64 64 72 65 73 |has fewe|r addres|
|00004da0| 73 69 6e 67 20 6d 6f 64 | 65 73 2c 20 61 6e 64 20 |sing mod|es, and |
|00004db0| 6f 6e 6c 79 20 61 66 66 | 65 63 74 73 20 74 68 65 |only aff|ects the|
|00004dc0| 20 0d 0a 27 5a 20 66 6c | 61 67 27 2e 0d 0a 1a 01 | ..'Z fl|ag'.....|
|00004dd0| 41 06 05 b4 54 53 42 c3 | 54 65 73 74 2d 41 4e 44 |A...TSB.|Test-AND|
|00004de0| 20 61 20 73 70 65 63 69 | 66 69 65 64 20 27 70 61 | a speci|fied 'pa|
|00004df0| 67 65 20 7a 65 72 6f 27 | 20 6d 65 6d 6f 72 79 20 |ge zero'| memory |
|00004e00| 62 79 74 65 20 77 69 74 | 68 20 74 68 65 20 41 20 |byte wit|h the A |
|00004e10| 72 65 67 69 73 74 65 72 | 20 0d 0a 61 6e 64 20 73 |register| ..and s|
|00004e20| 65 74 20 74 68 65 20 27 | 5a 20 66 6c 61 67 27 20 |et the '|Z flag' |
|00004e30| 61 63 63 6f 72 64 69 6e | 67 6c 79 2c 20 66 6f 6c |accordin|gly, fol|
|00004e40| 6c 6f 77 65 64 20 62 79 | 20 72 65 73 65 74 74 69 |lowed by| resetti|
|00004e50| 6e 67 20 28 52 4d 42 6e | 29 20 6f 72 20 0d 0a 73 |ng (RMBn|) or ..s|
|00004e60| 65 74 74 69 6e 67 20 28 | 53 4d 42 6e 29 20 74 68 |etting (|SMBn) th|
|00004e70| 65 20 74 65 73 74 65 64 | 20 6d 65 6d 6f 72 79 20 |e tested| memory |
|00004e80| 6c 6f 63 61 74 69 6f 6e | 2e 0d 0a 09 54 68 69 73 |location|....This|
|00004e90| 20 69 73 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 42 | is simi|lar to B|
|00004ea0| 49 54 20 62 75 74 20 73 | 74 6f 72 65 73 20 74 68 |IT but s|tores th|
|00004eb0| 65 20 72 65 73 75 6c 74 | 20 62 61 63 6b 20 74 6f |e result| back to|
|00004ec0| 20 74 68 65 20 0d 0a 6d | 65 6d 6f 72 79 20 6c 6f | the ..m|emory lo|
|00004ed0| 63 61 74 69 6f 6e 2c 20 | 68 61 73 20 66 65 77 65 |cation, |has fewe|
|00004ee0| 72 20 61 64 64 72 65 73 | 73 69 6e 67 20 6d 6f 64 |r addres|sing mod|
|00004ef0| 65 73 2c 20 61 6e 64 20 | 6f 6e 6c 79 20 61 66 66 |es, and |only aff|
|00004f00| 65 63 74 73 20 74 68 65 | 20 0d 0a 27 5a 20 66 6c |ects the| ..'Z fl|
|00004f10| 61 67 27 2e 0d 0a 1a 01 | 3f 02 05 b4 54 41 58 c3 |ag'.....|?...TAX.|
|00004f20| 54 72 61 6e 73 66 65 72 | 20 72 65 67 69 73 74 65 |Transfer| registe|
|00004f30| 72 20 76 61 6c 75 65 20 | 74 6f 20 61 6e 6f 74 68 |r value |to anoth|
|00004f40| 65 72 20 72 65 67 69 73 | 74 65 72 2e 20 54 68 65 |er regis|ter. The|
|00004f50| 20 72 65 67 69 73 74 65 | 72 73 20 0d 0a 69 6e 76 | registe|rs ..inv|
|00004f60| 6f 6c 76 65 64 20 61 72 | 65 20 69 6d 70 6c 69 65 |olved ar|e implie|
|00004f70| 64 20 62 79 20 74 68 65 | 20 6f 70 65 72 61 74 6f |d by the| operato|
|00004f80| 72 20 28 69 65 20 54 41 | 58 20 74 72 61 6e 73 66 |r (ie TA|X transf|
|00004f90| 65 72 73 20 41 20 74 6f | 20 58 29 2e 0d 0a 1a 01 |ers A to| X).....|
|00004fa0| 3f 02 05 b4 54 41 59 c3 | 54 72 61 6e 73 66 65 72 |?...TAY.|Transfer|
|00004fb0| 20 72 65 67 69 73 74 65 | 72 20 76 61 6c 75 65 20 | registe|r value |
|00004fc0| 74 6f 20 61 6e 6f 74 68 | 65 72 20 72 65 67 69 73 |to anoth|er regis|
|00004fd0| 74 65 72 2e 20 54 68 65 | 20 72 65 67 69 73 74 65 |ter. The| registe|
|00004fe0| 72 73 20 0d 0a 69 6e 76 | 6f 6c 76 65 64 20 61 72 |rs ..inv|olved ar|
|00004ff0| 65 20 69 6d 70 6c 69 65 | 64 20 62 79 20 74 68 65 |e implie|d by the|
|00005000| 20 6f 70 65 72 61 74 6f | 72 20 28 69 65 20 54 41 | operato|r (ie TA|
|00005010| 58 20 74 72 61 6e 73 66 | 65 72 73 20 41 20 74 6f |X transf|ers A to|
|00005020| 20 58 29 2e 0d 0a 1a 01 | 2e 01 05 b4 54 43 44 c3 | X).....|....TCD.|
|00005030| 54 72 61 6e 73 66 65 72 | 20 43 20 61 63 63 75 6d |Transfer| C accum|
|00005040| 75 6c 61 74 6f 72 20 74 | 6f 20 44 69 72 65 63 74 |ulator t|o Direct|
|00005050| 20 72 65 67 69 73 74 65 | 72 20 28 44 29 2e 0d 0a | registe|r (D)...|
|00005060| 1a 01 2d 01 05 b4 54 43 | 53 c3 54 72 61 6e 73 66 |..-...TC|S.Transf|
|00005070| 65 72 20 43 20 61 63 63 | 75 6d 75 6c 61 74 6f 72 |er C acc|umulator|
|00005080| 20 74 6f 20 53 74 61 63 | 6b 20 70 6f 69 6e 74 65 | to Stac|k pointe|
|00005090| 72 20 28 53 50 29 2e 0d | 0a 1a 01 2e 01 05 b4 54 |r (SP)..|.......T|
|000050a0| 44 43 c3 54 72 61 6e 73 | 66 65 72 20 44 69 72 65 |DC.Trans|fer Dire|
|000050b0| 63 74 20 72 65 67 69 73 | 74 65 72 20 28 44 29 20 |ct regis|ter (D) |
|000050c0| 74 6f 20 43 20 61 63 63 | 75 6d 75 6c 61 74 6f 72 |to C acc|umulator|
|000050d0| 2e 0d 0a 1a 01 2d 01 05 | b4 54 53 43 c3 54 72 61 |.....-..|.TSC.Tra|
|000050e0| 6e 73 66 65 72 20 53 74 | 61 63 6b 20 70 6f 69 6e |nsfer St|ack poin|
|000050f0| 74 65 72 20 28 53 50 29 | 20 74 6f 20 43 20 61 63 |ter (SP)| to C ac|
|00005100| 63 75 6d 75 6c 61 74 6f | 72 2e 0d 0a 1a 01 3f 02 |cumulato|r.....?.|
|00005110| 05 b4 54 58 41 c3 54 72 | 61 6e 73 66 65 72 20 72 |..TXA.Tr|ansfer r|
|00005120| 65 67 69 73 74 65 72 20 | 76 61 6c 75 65 20 74 6f |egister |value to|
|00005130| 20 61 6e 6f 74 68 65 72 | 20 72 65 67 69 73 74 65 | another| registe|
|00005140| 72 2e 20 54 68 65 20 72 | 65 67 69 73 74 65 72 73 |r. The r|egisters|
|00005150| 20 0d 0a 69 6e 76 6f 6c | 76 65 64 20 61 72 65 20 | ..invol|ved are |
|00005160| 69 6d 70 6c 69 65 64 20 | 62 79 20 74 68 65 20 6f |implied |by the o|
|00005170| 70 65 72 61 74 6f 72 20 | 28 69 65 20 54 41 58 20 |perator |(ie TAX |
|00005180| 74 72 61 6e 73 66 65 72 | 73 20 41 20 74 6f 20 58 |transfer|s A to X|
|00005190| 29 2e 0d 0a 1a 01 3f 02 | 05 b4 54 58 59 c3 54 72 |).....?.|..TXY.Tr|
|000051a0| 61 6e 73 66 65 72 20 72 | 65 67 69 73 74 65 72 20 |ansfer r|egister |
|000051b0| 76 61 6c 75 65 20 74 6f | 20 61 6e 6f 74 68 65 72 |value to| another|
|000051c0| 20 72 65 67 69 73 74 65 | 72 2e 20 54 68 65 20 72 | registe|r. The r|
|000051d0| 65 67 69 73 74 65 72 73 | 20 0d 0a 69 6e 76 6f 6c |egisters| ..invol|
|000051e0| 76 65 64 20 61 72 65 20 | 69 6d 70 6c 69 65 64 20 |ved are |implied |
|000051f0| 62 79 20 74 68 65 20 6f | 70 65 72 61 74 6f 72 20 |by the o|perator |
|00005200| 28 69 65 20 54 41 58 20 | 74 72 61 6e 73 66 65 72 |(ie TAX |transfer|
|00005210| 73 20 41 20 74 6f 20 58 | 29 2e 0d 0a 1a 01 3f 02 |s A to X|).....?.|
|00005220| 05 b4 54 59 41 c3 54 72 | 61 6e 73 66 65 72 20 72 |..TYA.Tr|ansfer r|
|00005230| 65 67 69 73 74 65 72 20 | 76 61 6c 75 65 20 74 6f |egister |value to|
|00005240| 20 61 6e 6f 74 68 65 72 | 20 72 65 67 69 73 74 65 | another| registe|
|00005250| 72 2e 20 54 68 65 20 72 | 65 67 69 73 74 65 72 73 |r. The r|egisters|
|00005260| 20 0d 0a 69 6e 76 6f 6c | 76 65 64 20 61 72 65 20 | ..invol|ved are |
|00005270| 69 6d 70 6c 69 65 64 20 | 62 79 20 74 68 65 20 6f |implied |by the o|
|00005280| 70 65 72 61 74 6f 72 20 | 28 69 65 20 54 41 58 20 |perator |(ie TAX |
|00005290| 74 72 61 6e 73 66 65 72 | 73 20 41 20 74 6f 20 58 |transfer|s A to X|
|000052a0| 29 2e 0d 0a 1a 01 3f 02 | 05 b4 54 59 58 c3 54 72 |).....?.|..TYX.Tr|
|000052b0| 61 6e 73 66 65 72 20 72 | 65 67 69 73 74 65 72 20 |ansfer r|egister |
|000052c0| 76 61 6c 75 65 20 74 6f | 20 61 6e 6f 74 68 65 72 |value to| another|
|000052d0| 20 72 65 67 69 73 74 65 | 72 2e 20 54 68 65 20 72 | registe|r. The r|
|000052e0| 65 67 69 73 74 65 72 73 | 20 0d 0a 69 6e 76 6f 6c |egisters| ..invol|
|000052f0| 76 65 64 20 61 72 65 20 | 69 6d 70 6c 69 65 64 20 |ved are |implied |
|00005300| 62 79 20 74 68 65 20 6f | 70 65 72 61 74 6f 72 20 |by the o|perator |
|00005310| 28 69 65 20 54 41 58 20 | 74 72 61 6e 73 66 65 72 |(ie TAX |transfer|
|00005320| 73 20 41 20 74 6f 20 58 | 29 2e 0d 0a 1a 01 3f 02 |s A to X|).....?.|
|00005330| 05 b4 54 53 58 c3 54 72 | 61 6e 73 66 65 72 20 72 |..TSX.Tr|ansfer r|
|00005340| 65 67 69 73 74 65 72 20 | 76 61 6c 75 65 20 74 6f |egister |value to|
|00005350| 20 61 6e 6f 74 68 65 72 | 20 72 65 67 69 73 74 65 | another| registe|
|00005360| 72 2e 20 54 68 65 20 72 | 65 67 69 73 74 65 72 73 |r. The r|egisters|
|00005370| 20 0d 0a 69 6e 76 6f 6c | 76 65 64 20 61 72 65 20 | ..invol|ved are |
|00005380| 69 6d 70 6c 69 65 64 20 | 62 79 20 74 68 65 20 6f |implied |by the o|
|00005390| 70 65 72 61 74 6f 72 20 | 28 69 65 20 54 41 58 20 |perator |(ie TAX |
|000053a0| 74 72 61 6e 73 66 65 72 | 73 20 41 20 74 6f 20 58 |transfer|s A to X|
|000053b0| 29 2e 0d 0a 1a 01 3f 02 | 05 b4 54 58 53 c3 54 72 |).....?.|..TXS.Tr|
|000053c0| 61 6e 73 66 65 72 20 72 | 65 67 69 73 74 65 72 20 |ansfer r|egister |
|000053d0| 76 61 6c 75 65 20 74 6f | 20 61 6e 6f 74 68 65 72 |value to| another|
|000053e0| 20 72 65 67 69 73 74 65 | 72 2e 20 54 68 65 20 72 | registe|r. The r|
|000053f0| 65 67 69 73 74 65 72 73 | 20 0d 0a 69 6e 76 6f 6c |egisters| ..invol|
|00005400| 76 65 64 20 61 72 65 20 | 69 6d 70 6c 69 65 64 20 |ved are |implied |
|00005410| 62 79 20 74 68 65 20 6f | 70 65 72 61 74 6f 72 20 |by the o|perator |
|00005420| 28 69 65 20 54 41 58 20 | 74 72 61 6e 73 66 65 72 |(ie TAX |transfer|
|00005430| 73 20 41 20 74 6f 20 58 | 29 2e 0d 0a 1a 01 43 02 |s A to X|).....C.|
|00005440| 05 b4 57 41 49 c3 57 61 | 69 74 20 66 6f 72 20 49 |..WAI.Wa|it for I|
|00005450| 6e 74 65 72 72 75 70 74 | 2e 20 54 68 65 20 70 72 |nterrupt|. The pr|
|00005460| 6f 63 65 73 73 6f 72 20 | 73 74 6f 70 73 20 75 6e |ocessor |stops un|
|00005470| 74 69 6c 20 61 6e 20 65 | 78 74 65 72 6e 61 6c 20 |til an e|xternal |
|00005480| 69 6e 74 65 72 72 75 70 | 74 0d 0a 6f 63 63 75 72 |interrup|t..occur|
|00005490| 73 2e 0d 0a 1a 01 2c 01 | 05 b4 58 42 41 c3 45 78 |s.....,.|..XBA.Ex|
|000054a0| 63 68 61 6e 67 65 20 74 | 68 65 20 42 20 61 6e 64 |change t|he B and|
|000054b0| 20 41 20 61 63 63 75 6d | 75 6c 61 74 6f 72 73 2e | A accum|ulators.|
|000054c0| 0d 0a 1a 01 42 03 05 b4 | 58 43 45 c3 45 78 63 68 |....B...|XCE.Exch|
|000054d0| 61 6e 67 65 20 74 68 65 | 20 43 61 72 72 79 20 61 |ange the| Carry a|
|000054e0| 6e 64 20 45 6d 75 6c 61 | 74 69 6f 6e 20 62 69 74 |nd Emula|tion bit|
|000054f0| 73 2e 20 54 68 69 73 20 | 69 6e 73 74 72 75 63 74 |s. This |instruct|
|00005500| 69 6f 6e 20 69 73 20 75 | 73 65 64 20 74 6f 0d 0a |ion is u|sed to..|
|00005510| 63 68 61 6e 67 65 20 74 | 68 65 20 36 35 43 38 31 |change t|he 65C81|
|00005520| 36 20 6f 70 65 72 61 74 | 69 6f 6e 20 62 65 74 77 |6 operat|ion betw|
|00005530| 65 65 6e 20 74 68 65 20 | 6e 61 74 69 76 65 20 6d |een the |native m|
|00005540| 6f 64 65 20 61 6e 64 20 | 74 68 65 20 36 35 30 32 |ode and |the 6502|
|00005550| 0d 0a 65 6d 75 61 6c 61 | 74 69 6f 6e 20 6d 6f 64 |..emuala|tion mod|
|00005560| 65 2e 0d 0a 1a | |e.... | |
+--------+-------------------------+-------------------------+--------+--------+