### Author Topic: For the last time, I am NOT going to use $9D95 in my early ASM lessons (Read 15160 times) 0 Members and 1 Guest are viewing this topic. #### Hot_Dog • If you can't find a cat, look for its tail. • Project Author • LV11 Super Veteran (Next: 3000) • Posts: 2966 • Rating: +445/-10 ##### For the last time, I am NOT going to use$9D95 in my early ASM lessons
« on: March 06, 2011, 04:29:30 pm »
There have been a lot of people that have asked me why I choose to use .org 40339 to start ASM programs in my lessons.  I wrote this up because I hope that people who read it will understand why, even if they themselves don't like it.

I know that most of the time, RAM addresses are stated as hexadecimal, and indeed, when hexadecimal is introduced in my ASM lessons, I switch to .org $9D93. But is it absolutely necessary? Will the universe or the person's calculator explode if I use 40339? These lessons are for the absolute beginner! BEGINNER! Why on earth does it matter whether I use hexadecimal or decimal at the beginning? Let me repharse: why am I making a big deal out of this? Well, do you know why my lessons are successful? Because I expalin to people exactly how everything works and I make it easy for them. Read my third lesson on RAM addresses, where I explain and help people understand what ram addresses are. Then ask yourself: Which is easier to understand, that the ASM program starts at the 40339th byte of the calculator? Or that the ASM program starts at the 9D93th byte? When I show what compiled ASM programs look like, is it easier for a beginner to count in decimal, or in hexadecimal? You can disagree with me as much as you want, but if you read this, please don't bug me on the "method to my madness." No hard feelings, but I just hear it so many times that I start to feel like I'm an idiot for not "following the rules." Whatever the case, my lessons have not lost popularity from choosing to use decimal numbers. There are people who can speak two languages, and they are called bilingual. There are people who speak three languages and are therefore trilingual. Then there are people who speak one language, and these people are called Americans. #### jnesselr • King Graphmastur • LV11 Super Veteran (Next: 3000) • Posts: 2270 • Rating: +81/-20 • TAO == epic ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #1 on: March 06, 2011, 04:48:15 pm »
I actually like that style.  I up-rated your post, but I think it could have been done slightly nicer.  When you say this, it makes you seem like an expert on everything.  (Granted, you might just be.) Anyway, I would just say something along the lines of $9D95 would work too, but we'll get to that later. I love concepts that build up, because it reinforces and gives use to the knowledge you have. #### Hot_Dog • If you can't find a cat, look for its tail. • Project Author • LV11 Super Veteran (Next: 3000) • Posts: 2966 • Rating: +445/-10 ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #2 on: March 06, 2011, 04:52:24 pm »
I up-rated your post, but I think it could have been done slightly nicer.  When you say this, it makes you seem like an expert on everything.

Interesting.  Yeah, it could be nicer, and I knew it even while I was typing it up.  But it's not me seeming liking an expert.  It's frustration because everyone's telling me "No, you need to do it this way!" as if THEY are experts on everything.

EDIT: Thanks for pointing this out, though, because I tried to be a good sport, and I know now that I wasn't
« Last Edit: March 06, 2011, 04:54:25 pm by Hot_Dog »
There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

#### jnesselr

• King Graphmastur
• LV11 Super Veteran (Next: 3000)
• Posts: 2270
• Rating: +81/-20
• TAO == epic
##### Re: For the last time, I am NOT going to use $9D95 in my early ASM lessons « Reply #3 on: March 06, 2011, 04:55:43 pm » I up-rated your post, but I think it could have been done slightly nicer. When you say this, it makes you seem like an expert on everything. Interesting. Yeah, it could be nicer, and I knew it even while I was typing it up. But it's not me seeming liking an expert. It's frustration because everyone's telling me "No, you need to do it this way!" as if THEY are experts on everything. oh, I totally understand. 9D95 is just easy to learn methinks. Instead of 40339. (Wait, I just memorized it in like 2 seconds, hey, look at that). I think a lot of ASM programmers mentalities are "we'll tell you this, and you'll just go with it, but we'll explain it later". <off-topic> Anyway, yeah. I think I'm gonna change my avatar, the thing is starting to freak me out. ;-) </off-topic> #### KermMartian • Editor • LV7 Elite (Next: 700) • Posts: 500 • Rating: +233/-20 ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #4 on: March 06, 2011, 04:59:36 pm »
I'm in the $9D95 camp. I just feel everything works out better for everyone if we use the accepted and widely-held convention of hex for addresses. No hard feelings that you disagree. #### Hot_Dog • If you can't find a cat, look for its tail. • Project Author • LV11 Super Veteran (Next: 3000) • Posts: 2966 • Rating: +445/-10 ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #5 on: March 06, 2011, 05:00:57 pm »
I'm in the $9D95 camp. I just feel everything works out better for everyone if we use the accepted and widely-held convention of hex for addresses. No hard feelings that you disagree. Hmmm, you have a point, because when people ask for help it is easier for people they ask to see$9D95.  I think I'll make a note of that in Tutorial 4
There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

#### SirCmpwn

• Guest
##### Re: For the last time, I am NOT going to use $9D95 in my early ASM lessons « Reply #6 on: March 06, 2011, 05:02:36 pm » These tutorials are yours, and you are free to do what you want. However, my opinion is that decimal has little place in assembly, and no place whatsoever when referring to addresses. Do what you like with your tutorials, but the standard is hexadecimal. #### KermMartian • Editor • LV7 Elite (Next: 700) • Posts: 500 • Rating: +233/-20 ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #7 on: March 06, 2011, 05:03:02 pm »
I've had several users ask me for help, and be confused that I wrote .org $9d95, and mention that they also saw the$9D95 in lots of example code and don't understand it.  I would definitely advise that, although as you said, if you don't want to change your tutorials, that's your perogative.

#### Hot_Dog

• If you can't find a cat, look for its tail.
• Project Author
• LV11 Super Veteran (Next: 3000)
• Posts: 2966
• Rating: +445/-10
##### Re: For the last time, I am NOT going to use $9D95 in my early ASM lessons « Reply #8 on: March 06, 2011, 05:06:47 pm » By the way, thank you all for your comments and for listening to my side of the story, and I apologize if I offended anyone There are people who can speak two languages, and they are called bilingual. There are people who speak three languages and are therefore trilingual. Then there are people who speak one language, and these people are called Americans. #### Juju • Incredibly sexy mare • Coder Of Tomorrow • LV13 Extreme Addict (Next: 9001) • Posts: 5730 • Rating: +500/-19 • Weird programmer ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #9 on: March 06, 2011, 05:08:57 pm »
Well, I suggest to begin with .org 40339, then explaining thing about the 40339 byte, then switch to hex, explaining everyone uses hex because it's easier, while explaining hex, then never talk of the decimal form again.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?

This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

#### alberthrocks

• Moderator
• Posts: 876
• Rating: +103/-10
Fortunately, you're doing nothing wrong - it's just .org $9D95 is the same as .org 40339! This will definitely clear up any ASM beginner confusion « Last Edit: March 06, 2011, 05:16:50 pm by alberthrocks » Withgusto Networks Founder and Administrator Main Server Status: http://withg.org/status/ Backup Server Status: Not available Backup 2/MC Server Status: http://mc.withg.org/status/ Proud member of ClrHome! Miss my old signature? Here it is! Spoiler For Signature: Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/ Withgusto Networks Founder and Administrator Main Server Status: http://withg.org/status/ Backup Server Status: Not available Backup 2/MC Server Status: http://mc.withg.org/status/ Activity remains limited due to busyness from school et al. Sorry! Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent. Proud member of ClrHome! Spoiler For "My Projects! :D": Projects: Computer/Web/IRC Projects: C______c: 0% done (Doing planning and trying to not forget it ) A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI) AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future) IdeaFrenzy: 0% done (Planning and trying to not forget it ) wxWabbitemu: 40% done (NEED MOAR FEATURES ) Calculator Projects: M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe) C2I: 0% done (planning, checking the demand for it, and dreaming ) #### Hot_Dog • If you can't find a cat, look for its tail. • Project Author • LV11 Super Veteran (Next: 3000) • Posts: 2966 • Rating: +445/-10 ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #11 on: March 06, 2011, 05:14:43 pm »
Yeah, something like that.  +1 for both of you

But I won't be able to do it immediately, sadly, I have a lot going on
There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

#### ralphdspam

• Posts: 841
• Rating: +38/-1
• My name is actually Matt.
##### Re: For the last time, I am NOT going to use $9D95 in my early ASM lessons « Reply #12 on: March 06, 2011, 05:18:08 pm » As an ASM learner (from your lessons), I don't mind if it starts with 40339 or$9D95.  (But then I already knew Hex)

The person learning ASM can always substitute one for the other, like how I use bcall() instead of B_CALL.

EDIT: Woa, double Ninja'd
« Last Edit: March 06, 2011, 05:18:47 pm by ralphdspam »
ld a, 0
ld a, a

#### ztrumpet

• The Rarely Active One
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5712
• Rating: +364/-4
• If you see this, send me a PM. Just for fun.
Fortunately, you're doing nothing wrong - it's just .org $9D95 is the same as .org 40339! This will definitely clear up any ASM beginner confusion This is the way that I'd do it. If I'm wrong, please correct me! Unfinished Projects:  Elmgon 14% Basic Movement Demo Homescreen Game Pack 80% Basic Latest Release Cube Droid Saves the Galaxy 65% Axe Demo Detonate 70% Axe Completed Projects: Exodus | Midnight |Drifter | Axe Snake | Jump! | Factory Theta | Spider | Plot Drop | Papi Jump | Numb3rs | Nibbler | Boost | Duel Tile Map Editor | Homescreen Map Editor | Key Group Check | Oasis #### DJ Omnimaga • Former TI programmer • CoT Emeritus • LV15 Omnimagician (Next: --) • Posts: 55872 • Rating: +3151/-232 • CodeWalrus founder & retired Omnimaga founder ##### Re: For the last time, I am NOT going to use$9D95 in my early ASM lessons
« Reply #14 on: March 09, 2011, 03:35:22 am »
Well to be honest I negated one of the vote, since I felt it was kinda rude, especially if someone never asked before and is new, but I don't feel it deserves under +1 so if it was 0 I would probably have uprated it.

Personally it's your tutorials so you can do what you want with them. I agree with Juju's and Alberthro's idea, though. It might clear things up. If you use .org 40339, simply explain that other tutorials might use \$9D95, but that's it's basically the same, just in hex.