13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Instruction CodesAmmblyNa ma Operallon Addressing language OP No. ·r Status Rog.Oescrlpllon Mode Form Code Byt" NZCtOVADCAdd memory to A·M·C -A.C Immediate ADC •Oper 69 2 v'v'v'-. v'accumulator with carry Zero Page AOC Oper 65 2Zero Page.X AOC Oper,X 75 2Absolute AOC Oper 60 3Absolute.X AOC Oper,X 70 3Absolute.Y AOC Qper,Y 79 3(1ndirect.Xl AOC (Oper.X) 61 2(lndirectl.Y AOC iOper). Y 71 2AND"ANO" memory with AAM-A Immediate AND •Dper 29 2 .,;,1---accumulator Zero Page ANO Oper 25 2Zero Page.X ANO Oper,X 35 2Absolute ANO Oper 20 3Absolute.X ANO Oper.X 30 3Absolute. Y ANO Oper.Y 39 3(Indirect.XI ANO (Qper,X) 21 2(lndirect).Y AND iOper).Y 31 2ASLShift left one bit (See Figure 1) Accumulator ASL A QA 1 v'v'v'---(Memory or Accumulator) Zero Page ASL Oper 06 2Zero Page.X ASL Oper.X 16 2Absolute ASL Oper OE 3Absolute.X ASL Oper.X 1E 3BCCBranch on carry clear Branch on C=O Relative BCC Oper 90 2 ------llCSBranch on carry set Branch on C= 1 Relative BCS Oper BO 2 -------llEOBranch on result zero Branch on Z=l Relative BEQ Oper FD 2 ------BITTest bits in memory AAM. M1 -N. Zero Page BIT1 Oper 24 2with accumulator M5-V Absolute BIT1 Oper 2C 3M7...,l---M6BfillBranch on result minus Branch on N=1 Relative BMI Oper 30 2 ------llNEBranch on result not zero Branch on Z=O Relative BNE Oper 00 2 -------lll'lBranch on result plus Branch on N =0 Relative BPL oper 10 2 ------BRKForce Break Forced Implied BRK2 00 1 ---1--InterruptPC•2IP+111/CBranch on overflow clear Branch on V=O Relative BVC Oper 50 2 ------Note 1 : Bits 6 and 7 are transferred to the status register. If the result of A AND M is zero,then Z = 1; otherwise Z = 0.Note 2: A BRK command cannot be masked by setting I.HEXInstruction CodesIII-345

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

Saved successfully!

Ooh no, something went wrong!