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.

6502 Microprocessor InstructionsADC Add Memory to Accumulator with LOA Load Accumulator with MemoryCarry LOX Load lndex X with MemoryAND ''ANo·· Memory with Accumulator LOY Load Index Y with MemoryASL Sh1f1 Left One 811 !Memory or LSR Shift Righi one Bit !Memory orAccumulator)AccumuletoriBCC Branch on Carry Clear NOP No OperationBCS Branch on Carry Set ORA "OR" Memory with AccumulatorBEQ Branch on Result ZeroPHA Push Accumulator on StackBIT Test Bits 1n Memory withPHP Push Processor Status on StackAccumulatorPLA Pull Accumulator from StackBMI Branch on Result MinusPLP Pull Processor Status from Steck.SNE Branch on Result not ZeroBPL Branch on Result Plus AOL Rotate One Bit Left (Memory orBAK Force Break Accumulatorleve Branch on Overflow Clear ROA Rotate One Bit Right !Memory orBVS Branch on Overflow Set Accumulator1RTI Return from InterruptCLC Clear Carry FlagATS Return from SubroutineClear Decimal ModeCLOCLI Clear Interrupt Disable 811 SBC Subtract Memory from AccumulatorCLV Clear 0Yerflow Flag with BorrowCMP Compare Memory and Accumulator SEC Set Carry FlagCPX Compere Memory and Index X SEO Set Decimal ModeCPY Compare Memory and Index Y SIEI Set Jnterrupt Disable StatusDEC Decrement Memory by One STA Store Accumulator 1n MemoryDEX Decrement Index X by One STX Store Index X 1n MemoryDEY Decrement Index Y by One STY Store Index Y 1n MemoryEOR "ExclusiYe-Or'' Memory with TAX Transfer Accumulator to Index XAccumulator TAY Transfer Accumulator to Index YTSX Transfer Stack Pointer to Index XINC Increment Memory by OneTXA Transfer Index X to AccumulatorINX Increment Index X by OneTXS Transfer Index X to Stack PointerINY increment Index Y by OneTYA Transfer Index Y to AccumulatorJMP Jump to New LocationJSR Jump to New Location SavingReturn Address6502 Microprocessor Instructions III-343

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

Saved successfully!

Ooh no, something went wrong!