Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Where To Find Resources Of Asm For First Timers?, Where to go if you are a complete n00b?
^zer0dyer$
post May 2 2005, 07:21 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 2-May 05
From: Alpha Centauri
Member No.: 4,636



Hello everyone!

I recently googled Assembly, trying to learn a little more about it. However, the results I skimmed through were very cryptic. I have programming experience, and am not a complete n00b to certain concepts.

I am just curious about where to go if you don't really know anything about Assembly. How to get started, what you need, etc., etc.

I'd appreciate anyone's help, thanks,
+CurTis- smile.gif

This post has been edited by microscopic^earthling: May 8 2005, 09:10 PM
Go to the top of the page
 
+Quote Post
mastercomputers
post May 2 2005, 07:38 AM
Post #2


BUG.SWAT.PATROL
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



Hey ^zer0dyer$,

Well first of all, ASM is quite far from General Programming to even compare them in thinking they act the same way.

First things first, what platform and architecture will you be using, if you really want to get ahead in ASM I suggest Linux x86, the OS is packed with so much documentations and tools to help you understand it in great details. Also, if you did I could help you, I know a bit about Win32 but it's not as indepth.

If developing for Win32, radASM is a good IDE and MASM32 is a good assembler if Win32 programming is your aim, otherwise I would suggest NASM. From there I suggest learning from Icezilion's tutorials, or maybe it's Hutch's, sorry it's been a long time since I spoke to any of those guys. You should be able to find those links from MASM32's homepage.

You might want to look into HLA (High Level Assembler) but if you want to learn properly I suggest using the above, I've never liked HLA, and I feel it takes away the underlying understanding, especially if you look into disassembling your programs too.

Also get familiar with Hexadecimal, Decimal and Binary, just needed to understand values in your program, and also look at Hexadecimal to equivalent ASCII characters, to get an understanding of strings.

More things you'll need to look at is the registers of the processor you'll be developing on, Intel supplies good documentation for this but it's sometimes hard to find.


Cheers,


MC
Go to the top of the page
 
+Quote Post
rapco
post May 2 2005, 09:35 PM
Post #3


Premium Member
Group Icon

Group: Members
Posts: 292
Joined: 26-September 04
From: Bogotá, Colombia
Member No.: 868



Well, asm it's different for every micro your programming...

I mean, you can wirte asm programs for microchip's pic, or motorola microcontroller, and the language it's a bit different.. it has some code that's like the other...

You can program a TI calculator using asm language, and it's also different...

When you program in asm for pc, what tou are really programming is the proccesor....

Anyway... for any ams language your trying to program...

The best guide... THE OFFiCIAL MANUAL OF THE THING YOU PROGRAMMING!

For instance... u can use the compiler taht micro$oft uses for asm, it's freeware, and it has it's own "Help" file...

And, if you know c programming, you'll find asm very simple and easy



Go to the top of the page
 
+Quote Post
^zer0dyer$
post May 5 2005, 11:01 PM
Post #4


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 2-May 05
From: Alpha Centauri
Member No.: 4,636



Thanks a lot for those replies!!

Yes, as you can see, I have literally no experience with ASM. I know a little bit about it.

I am currently on a Win32 platform, and am not in the position to have an extra linux machine right now. I also know about hex, binary, decima, ascii relations, as I started to get more acquainted with those when I joined mod-x.

Thanks again for your help,
+CurTis-
Go to the top of the page
 
+Quote Post
rapco
post May 8 2005, 09:00 PM
Post #5


Premium Member
Group Icon

Group: Members
Posts: 292
Joined: 26-September 04
From: Bogotá, Colombia
Member No.: 868



QUOTE
I am currently on a Win32 platform, and am not in the position to have an extra linux machine right now. I also know about hex, binary, decima, ascii relations, as I started to get more acquainted with those when I joined mod-x.


Well, those numeric systems are really easy to understand..

Binary has two characters: 0 and 1
so it's: 000,001,010,011,100,101,110,111

Hexa is: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

Decimal is the one we use the most:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14...

and the ascii is a 256 character code, each code represents a character..

And the linuz platform.. well, with partition magic u can make a 2 gb partition and install linux on it, it's free!!! u can use your Win32 platform and you linux one in the same HD without any problems...

And, ASM, i think you wan't to learn how to use it in your pc, why do u want to learn, any specific porpouse?
Go to the top of the page
 
+Quote Post
ShadowPool
post Sep 5 2005, 05:46 AM
Post #6


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 5-September 05
Member No.: 8,324



QUOTE(^zer0dyer$ @ May 2 2005, 12:21 AM)
Hello everyone!

I recently googled Assembly, trying to learn a little more about it. However, the results I skimmed through were very cryptic. I have programming experience, and am not a complete n00b to certain concepts.

I am just curious about where to go if you don't really know anything about Assembly. How to get started, what you need, etc., etc.

I'd appreciate anyone's help, thanks,
+CurTis- smile.gif
*



Hi there! I learned MASM32 about 2 years ago and I can't stop writing programs with it yet! It's best to learn by trying things yourself, so you might want to start by installing and setting up the tools you will need. First, download the MASM32 compiler MASM32 and install it to C:\masm32. Then download RadASM and unzip it to C:\RadASM.

RadASM is an integrated development enviroment or IDE. An IDE makes it easier to pass parameters to the compiler and organizes your programming projects so you can develop applications faster and with less headache. After you have masm32 and RadASM installed, you might want to download a copy of the Windows API Documentation. Unzip the help file and put it into C:\RadASM\help. You can then open up radasm and go to help>win32 api, and the help file will open.

To get started with learning how to write a windows application in Masm32, you will want to read Iczelion's Win32 Assembly Tutorials and this RadASM tutorial. The RadASM tutorial is meant for people switiching from VisualBasic. If you get stuck on something, the best place to go is the Masm32 Forum. I find the people at that forum very mature and helpful!

biggrin.gif Good Luck!!!!
Go to the top of the page
 
+Quote Post
pyser
post Sep 27 2005, 12:17 PM
Post #7


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 25-September 05
From: Australia
Member No.: 8,722



Hey, if you want to see assembly language in action try SIMUPROC. Just google it and you will find out about it. It shows assembly language in use and you can also make your own assembly language and run it through the simulator. It is however in spanish, but I'm sure that there will be a translated version available. If this helps in any way please let me know.

Ryan
Go to the top of the page
 
+Quote Post
prorip
post Nov 27 2005, 11:35 AM
Post #8


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 27-November 05
Member No.: 9,835



ASM takes a matter of practice and re-agusting to think like memory and switches, just as a computer does. But saying that you still will need to know your operating system very well and also the functions that come with that operating system such as the DLL's in Windows. I think the below link is one of the best books ever written on ASM it is very old but contains all the information you need to read ASM.

http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.htm

anywayz good luck with your programming....
Go to the top of the page
 
+Quote Post
Quatrux
post Nov 27 2005, 09:24 PM
Post #9


the Q
Group Icon

Group: [HOSTED]
Posts: 1,017
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



well asm sucks on an x86, as i looked around it, it is best to program assembly for the dead m68k and PPC processors, but asm is such a language, that it is quite hard to make it run smoothly in a short time, especially if the code is more serious, it is hard to port the applications written in assembly too. :/
Go to the top of the page
 
+Quote Post
Vyoma
post Nov 29 2005, 02:29 AM
Post #10


Cosmic Overlord
Group Icon

Group: Members
Posts: 550
Joined: 26-November 05
From: Chennai, India
Member No.: 9,811



QUOTE(Quatrux @ Nov 28 2005, 02:54 AM)
well asm sucks on an x86, as i looked around it, it is best to program assembly for the dead m68k and PPC processors, but asm is such a language, that it is quite hard to make it run smoothly in a short time, especially if the code is more serious, it is hard to port the applications written in assembly too. :/
*




ASM sucks on an x86? Well, cannot exactly agree with that. I remember, I made a brick like game during my Engineering study all on a x86 Real mode platform. You move on to Protected mode, then it really gets tougher. But again, I do not know much about m68k, so I may be wrong.

Assembly, by nature should be very hard to port. Assembly used on its own cannot, in my opinion make amazing programs. But, what you can do is, build the most repetitive and basic funtionality of your program in Assembly, wrap it up in a function, and then you can use it in any high level language. This is where the actual power lies. It is one of the techniques used by Michael Abrash as can be quite evident when one reads through his books, Zen of Game Programming, or the Black Book. Note here though, that my opinions are limited by the scope of graphics and game programming, and I may not be accurate in other domains of applicaitons.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Member Sites Abusing System Resources.(2)
  2. A Whole Box Of Graphics Resources(11)
  3. Comprehensive List Of Resources On Graphics/design(12)
  4. Resources For Digital Artists(3)
  5. A Big List For Photoshop Resources(2)
  6. Resources For Beginner Delphi Programmer ?(11)
  7. Photoshop Tutorial: Forum Signatures(12)
  8. Comment Spam(3)
  9. Aloha!(2)
  10. Graphics Resources(15)
  11. L1ek Omg Sp4m Teh 1337(10)
  12. Need Help With Css Positioning Of Page Elements(9)
  13. A Complete Java Tutorial(4)
  14. Complete Css Layouts... What Do You Think?(8)
  15. Linux N00b Needs Your Help !(22)
  1. Ten Free Java-script Resources(0)
  2. Searchcactus: Complete Offers Get $$$(5)
  3. Creating Your Own Image Gallery With Php(3)
  4. Fibonacci Number Program Problem(5)
  5. N00b(3)
  6. Google Suggest (beta)(9)
  7. Co-Generation(5)
  8. Half-life 2 Episode 1... Complete Waste Of Money !(7)
  9. Visual Basic Express Tutorials(5)
  10. [resources](2)
  11. Browser Game Specific Non N00b Question(17)
  12. Looking For Resources(6)
  13. Borland Delphi [resources](0)


 



- Lo-Fi Version Time is now: 30th August 2008 - 12:35 PM