Mathematics

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
Amenofhis
Posts: 31
Joined: 21 Nov 2008

Mathematics

Post by Amenofhis »

is there any examples of addictions you guys have ??
User avatar
8BIT
Posts: 1787
Joined: 30 Aug 2002
Location: Sacramento, CA
Contact:

Post by 8BIT »

A Google search of "6502 addition" resulted in this link:

http://www.obelisk.demon.co.uk/6502/algorithms.html

Addition is included on this page along with many examples of common tasks. Since you are trying to learn 6502 assembly, it would be good to read the whole document.

Hope this helps.

Daryl
User avatar
ptorric
Posts: 85
Joined: 13 Feb 2005
Contact:

Post by ptorric »

Maybe is it possible to update/add the 6502.org code section with this nice page?
i think we all can help with other common algs...
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Mathematics

Post by BigDumbDinosaur »

Amenofhis wrote:
is there any examples of addictions you guys have ??
I have an addiction to fast cars and chocolate. Does that count? :)
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Post by BigDumbDinosaur »

BTW, there are code examples for math right here. Look on the code page.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
fachat
Posts: 1124
Joined: 05 Jul 2005
Location: near Heidelberg, Germany
Contact:

Re: Mathematics

Post by fachat »

BigDumbDinosaur wrote:
Amenofhis wrote:
is there any examples of addictions you guys have ??
I have an addiction to fast cars and chocolate. Does that count? :)
LOL. I was almost about to ask what addictions he has ;-)

André
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Re: Mathematics

Post by BitWise »

BigDumbDinosaur wrote:
Amenofhis wrote:
is there any examples of addictions you guys have ??
I have an addiction to fast cars and chocolate. Does that count? :)
I used to like fast cars but now I just stick to chocolate.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
User avatar
PaulF
Posts: 143
Joined: 08 Dec 2008
Location: Brighton, England

Post by PaulF »

I'm addicted to dihydrogen monoxide. No matter how hard I try, I just can't stay away from it!
Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Post by BigDumbDinosaur »

PaulF wrote:
I'm addicted to dihydrogen monoxide. No matter how hard I try, I just can't stay away from it!
Sounds like a real...er...gas!
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Post by BitWise »

BigDumbDinosaur wrote:
PaulF wrote:
I'm addicted to dihydrogen monoxide. No matter how hard I try, I just can't stay away from it!
Sounds like a real...er...gas!
Only when you heat it. Its H2O
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Nightmaretony
In Memoriam
Posts: 618
Joined: 27 Jun 2003
Location: Meadowbrook
Contact:

Post by Nightmaretony »

I am addicted to abusing gravity.



(rollercoasters)
"My biggest dream in life? Building black plywood Habitrails"
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Post by BigDumbDinosaur »

BitWise wrote:
BigDumbDinosaur wrote:
PaulF wrote:
I'm addicted to dihydrogen monoxide. No matter how hard I try, I just can't stay away from it!
Sounds like a real...er...gas!
Only when you heat it. Its H2O
I know...the "real gas" wisecrack alluded to certain infamous substances that have been periodically ingested by those whose brains are not operating at optimized levels. :)
User avatar
PaulF
Posts: 143
Joined: 08 Dec 2008
Location: Brighton, England

Post by PaulF »

BigDumbDinosaur wrote:
BitWise wrote:
BigDumbDinosaur wrote:
PaulF wrote:
I'm addicted to dihydrogen monoxide. No matter how hard I try, I just can't stay away from it!
Sounds like a real...er...gas!
Only when you heat it. Its H2O
I know...the "real gas" wisecrack alluded to certain infamous substances that have been periodically ingested by those whose brains are not operating at optimized levels. :)
My brain's never operated at optimised levels. I blame the compiler the operating system was built with.
Shift to the left,
Shift to the right,
Mask in, Mask Out,
BYTE! BYTE! BYTE!
Post Reply