13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Ammbly HEXNamm Operalion Addrmlng l.Jngu•o• OP No. ·r St•lus Reg.Ducriptlon Modo Form Code Byl" NZCIDVLSI!Shift right one bit (See Figure 1) Accumulator LSR A 4A 1 Ov\/---{memory or accumulator) Zero Page LSR Oper 46 2Zero Page.X LSR Oper.X 55 2Absolute LSR Oper 4E 3Absolute.X LSR Oper.X SE 3Niii'No operation No Operation Implied NOP EA 1 - -----ORA·off' memory with AV M-A Immediate ORA •Oper 09 2 ..;..;----accumulator Zero Page ORA Oper 05 2Zero Page.X ORA Oper.X 15 2Absolute ORA Oper 00 3Absolute.X ORA Oper.X 10 3Absolute.Y ORA Oper.Y 19 3(Indirect.XI ORA (Oper.X) 01 2(lndirect).Y ORA (Oper).Y 11 2PHAPush accumulator A I Implied PHA 411 1 ------on stackPHPPush processor status P I Implied PHP 08 1 ------on stackPLAPull accumulator A I Implied PLA 61! 1 ..;..;----from stackPLPPull processor status p t Implied PLP 28 1 From Stackfrom stackROlRotate one bit left (See Figure 2) Accumulator ROLA 2A 1 ..;..;..;---(memory or accumulator) Zero Page AOL Oper 26 2Zero Page.X ROL Oper.X 36 2Absolute ROL Oper 2E 3Absolute.X ROL Oper.X 3E 3ROiiRotate one bit right (See Figure 31 Accumulator ROR A 6A 1 ..;..;..;---(memory or accumulator) Zero Page ROR Oper 66 2Zero Page.X ROA Oper,X 76 2Absolute ROR Oper 6E 3Absolule.X ROR Oper,X 7E 3III-348Appendix SE: Summary of 6502 Opcode8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!