Jump to content
Sign in to follow this  
RSS Bot

Wickeycolumbus' Blog - 6502 menomics

Recommended Posts

Its Friday! No more fricken school!!!!!!

well any way, this is a list of 6502 menomics for all of the people that are learning 6502 assembly language with me out there.

 

Load/Store Operations:

 

LDA Load Accumulator

LDX Load X Register

LDY Load Y Register

STA Store Accumulator

STX Store X Register

STY Store Y Register

 

 

Register Transfers:

 

TAX Transfer accumulator to X

TAY Transfer accumulator to Y

TXA Transfer X to accumulator

TYA Transfer Y to accumulator

 

Stack Operations:

 

TSX Transfer stack pointer to X

TXS Transfer X to stack pointer

PHA Push accumulator on stack

PHP Push processor status on stack

PLA Pull accumulator from stack

PLP Pull processor status from stack

 

Logical:

 

AND Logical AND

EOR Exclusive OR

ORA Logical Inclusive OR

BIT Bit Test

 

Arithmetic:

 

ADC add with Carry

SBC Subtract with Carry

CMP Compare accumulator

CPX Compare X register

CPY Compare Y register

 

Increments and Decrements:

 

INC Increment a memory location

INX Increment the X register

INY Increment the Y register

DEC Decrememt a memory location

DEX Decrement the X register

DEY Decrement the Y register

 

Shifts:

 

ASL Arthmetic Shift Left

LSR Logical Shift Right

ROL Rotate Left

ROR Rotate Right

 

Jumps and Calls

 

JMP Jump to another location

JSR Jump to a subroutine

RTS Return from subroutine

 

Branches:

 

BCC Branch if carry flag clear

BCS Branch if carry flag set

BEQ Branch if zero flag set

BMI Branch if negative flag set

BNE Branch if zero flag clear

BPL Branch if negative flag clear

BVC Branch if overflow flag clear

BVS Branch if overflow flag set

 

Change the values of specific status flags:

 

CLC Clear carry flag

CLD Clear decimal mode flag

CLI Clear interrupt disable flag

CLV Clear overflow flag

SEC Set carry flag

SED Set decimal mode flag

SEI Set interrupt disable flag

 

System Functions:

 

BRK Force an interrupt

NOP No Operation

RTI Return from Interrupt

 

 

I hope that you all found this entry helpful!!!!

I noticed that some people have downloaded QUADRAT 1.0. I have newer versions that do a lot more things that i am wondering if i should post or not. Some new versions include features to: solve the falling object model, fint the discrimint, find the axis of symmatry, find the Y-intercept, and more.

If you liked QUADRAT 1.0 and would like to see better versions, please reply in a comment, or eMail me at [email protected]

 

 

 

 

 

 

 

 

 

 

http://www.atariage.com/forums/index.php?a...;showentry=3218

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...