Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 6th, 2006, 3:31 PM   #1
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
asm noob project...

What would be the perfect task/project for a noob asm programmer? I believe i understand what register are and how to store values in them. And a little bit with comparison... (jmp, je, ja, jb, jae, jbe)

Feedback?
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Jun 6th, 2006, 3:54 PM   #2
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
A perfect task/project would be to learn asm.

No offense but I doubt you can do much with the little you know.

(Although you still know more than me :-P Asm and I have had bad experiences...)
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old Jun 6th, 2006, 3:59 PM   #3
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 Narue is on a distinguished road
>What would be the perfect task/project for a noob asm programmer?
Little things. Hello world, basic string handling, simple sorting, just about anything that can be done with a single statement in a scripting language would make for a good project. You don't want to get bogged down in complex logic just yet. Once you get a feel for how things really work, as opposed to what those books have been telling you, you can start to make bigger and better things.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Jun 7th, 2006, 8:15 PM   #4
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
ok thanks ill work on that!
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Jun 7th, 2006, 8:21 PM   #5
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
Ya, just reinvent the wheel.
Harakim is offline   Reply With Quote
Old Jun 7th, 2006, 11:17 PM   #6
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
Look into cpuid, it has some very practical applications.
niteice is offline   Reply With Quote
Old Jun 7th, 2006, 11:40 PM   #7
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
what is cpuid... and what is the recommended ASM (im not searching!). Intel Motorola? Im not sure.. and what is the top compiler now and days still MASM? i want to use/learn lower lvl assembly.. no bs
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Jun 8th, 2006, 12:14 AM   #8
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 319
Rep Power: 4 andro is on a distinguished road
Send a message via AIM to andro
You don't learn to "use/learn lower lvl assembly."... You may, however, learn the syntax of an assembly language for a particular cpu/architecture.
andro is offline   Reply With Quote
Old Jun 8th, 2006, 9:07 AM   #9
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 Narue is on a distinguished road
>what is cpuid...
An x86 instruction. There may be a tool named after it, but I know there's a website called cpuid.com that has resources for the x86. If niteice was talking about the instruction then I have no idea what his point was. I could say that mov has practical applications as well, and it's way more common than cpuid.

>what is the recommended ASM (im not searching!).
Why won't you search? If you're really interested in assembly, you'll spend a lot of your time doing research.

>Intel Motorola?
There are a lot of architectures. Most likely you'll want to start out doing applications on a desktop, and that screams x86. The choice gets harder as you move into embedded stuff, where a least a dozen unique architectures are used with about the same frequency.

>what is the top compiler now and days still MASM?
For x86, MASM is still the most widely used.

>i want to use/learn lower lvl assembly.. no bs
NASM is good for people who don't want extra features, but it doesn't support 64-bit. I'd recommend FASM. MASM has a lot of "bs", as you call it.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Jun 8th, 2006, 10:51 PM   #10
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
Quote:
Originally Posted by Narue
>what is cpuid...
An x86 instruction. There may be a tool named after it, but I know there's a website called cpuid.com that has resources for the x86. If niteice was talking about the instruction then I have no idea what his point was. I could say that mov has practical applications as well, and it's way more common than cpuid.
Hmm, I should have been more clear. I was suggesting that, if Kilo wants a project, he should look into the CPU identification features. It's a serious project, not a little "hello, world" thing, and I feel that it uses enough different features of assembly to be a "perfect noob project".

Now, I wouldn't recommend that one should mess with cpuid as a first project, but once one has acquired some knowledge of how to get data from registers, perform bitwise operations, etc.

In other words, do other things first, I was just kinda throwing the idea out there for consideration.
niteice is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:49 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC