Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Assembly (http://www.programmingforums.org/forum20.html)
-   -   asm noob project... (http://www.programmingforums.org/showthread.php?t=10199)

Kilo Jun 6th, 2006 2:31 PM

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?

uman Jun 6th, 2006 2:54 PM

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...)

Narue Jun 6th, 2006 2:59 PM

>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. :)

Kilo Jun 7th, 2006 7:15 PM

ok thanks ill work on that!

Harakim Jun 7th, 2006 7:21 PM

Ya, just reinvent the wheel. :)

niteice Jun 7th, 2006 10:17 PM

Look into cpuid, it has some very practical applications.

Kilo Jun 7th, 2006 10:40 PM

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

andro Jun 7th, 2006 11:14 PM

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.

Narue Jun 8th, 2006 8:07 AM

>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. :rolleyes:

>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.

niteice Jun 8th, 2006 9:51 PM

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. :rolleyes:

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. ;)


All times are GMT -5. The time now is 12:51 AM.

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