Need help to Add numbers to X and Y registures
-
LASERACTIVEGUY
- Posts: 18
- Joined: 29 Dec 2015
Re: Need help to Add numbers to X and Y registures
Something clicked around 3am this morning.... I get it now, at least the basics. I even wrote a little code this morning after a short nap, and it worked flawless the first time with no debugging! I couldn't understand that there are 3 reg's, the X, the Y and the Accumulator. Even went back and shortened the first code 3 bytes. I'll read these posts about the 6502 information later today, I'm sure it will be very informative. You guys are the best! Thank you much!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Need help to Add numbers to X and Y registures
barrym95838 wrote:
BigDumbDinosaur wrote:
...
- You assemble your source code, not compile it.
... - The program that assembles your source code is referred to as an assembler, not a compiler (they are two very different animals).
- An assembler is a compiler which performs a specific set of tasks. The terms have somewhat diverged in practice, but the basic definition of "compiler" (translate between languages) applies.
Quote:
Are they really that different, BDD? 
In most computer science courses, the professor would correct someone who used the term "compiler" to refer to an "assembler," or vice versa.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Need help to Add numbers to X and Y registures
A good teacher knows when correction is mere pedantry, and a distraction for everyone else.
-
LASERACTIVEGUY
- Posts: 18
- Joined: 29 Dec 2015
Re: Need help to Add numbers to X and Y registures
This is an example of the LoRes Graphic Digitizer for Apple II your 'simple help' allowed me to do...
https://www.youtube.com/watch?v=zH8iBubD69w
And also ended a year's worth of confusion reading assembly books, but remaining in the fog despite many weekends scratching my head! Thanks again! -Tom
https://www.youtube.com/watch?v=zH8iBubD69w
And also ended a year's worth of confusion reading assembly books, but remaining in the fog despite many weekends scratching my head! Thanks again! -Tom
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Need help to Add numbers to X and Y registures
LASERACTIVEGUY wrote:
And also ended a year's worth of confusion reading assembly books, but remaining in the fog despite many weekends scratching my head!
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Need help to Add numbers to X and Y registures
BigEd wrote:
A good teacher knows when correction is mere pedantry, and a distraction for everyone else.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
LASERACTIVEGUY
- Posts: 18
- Joined: 29 Dec 2015
Re: Need help to Add numbers to X and Y registures
I'm pretty much going to end the thread because the objective has been completed... but something opened my eyes about this assembly stuff just talking with you guys. I've had a couple of books in front of me and been reading them almost every weekend, and it might as well have been in greek or latin or chineese. I'm actually reading these things and every single thing makes sense, its almost funny how just a week ago I couldn't understand one thing, and I put a lot of effort behind it. I read once in another book that assembly is easier to learn than basic... I am almost to the point of believing it!
A good teacher teaches and doesn't accept mediocrity as "good enough."
My teachers back when I was learning all this stuff didn't accept anything other than what is correct. Call that pedantry if you must, but I agree with that philosophy. I have too often seen first-hand what happens when the "good enough" attitude is in play. 
BigDumbDinosaur wrote:
BigEd wrote:
A good teacher knows when correction is mere pedantry, and a distraction for everyone else.
Re: Need help to Add numbers to X and Y registures
BigDumbDinosaur wrote:
BigEd wrote:
A good teacher knows when correction is mere pedantry, and a distraction for everyone else.
Education is a science and an art.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Need help to Add numbers to X and Y registures
LASERACTIVEGUY wrote:
I've had a couple of books in front of me and been reading them almost every weekend, and it might as well have been in greek or latin or chineese. I'm actually reading these things and every single thing makes sense, its almost funny how just a week ago I couldn't understand one thing, and I put a lot of effort behind it.
Quote:
I read once in another book that assembly is easier to learn than basic... I am almost to the point of believing it!
Now, I can't vouch for whether such a teaching methodology would be appropriate in this day and age. However, I can tell you that I had been writing computer software for more than a decade before I learned a high level language. Everything I had done up to that point was either assembly language or actual machine code, since the type of work I did in those days (1970s) required working close to the bare metal. The first high level language I learned was Business BASIC, and it seemed very simple—and quite stultifying, as I wasn't accustomed to not having detailed control of everything.
It would seem that there is/was some merit to starting off aspiring programmers on assembly language before introducing them to the high level compiler or interpreter. A lot of important concepts must be understood in order to write functioning assembly language programs, concepts with which I became intimately acquainted during the early years of my computing activities. Ergo the transition for me from low level to high was painless. I suspect going the other direction would not be as pleasant for many.
x86? We ain't got no x86. We don't NEED no stinking x86!