Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Assembly (http://www.programmingforums.org/forum20.html)
-   -   Completely oblivous (http://www.programmingforums.org/showthread.php?t=5389)

CodeJunkie Aug 13th, 2005 2:39 PM

Completely oblivous
 
Hya have a good knowledge of programming....
And i wish to learn assembly (No prior knowledge) wat compilers/editors/resources would any1 suggest?

iignotus Aug 13th, 2005 2:49 PM

It depends on what system you are compiling for. If for windows or linux, I would recommend nasm or fasm (in that order). There are also good tutorials for ASM on this board, or search google for Iczelion's pages.

Also, please try to refine your choice of grammar in posts. Thank you, and welcome to the board.

CodeJunkie Aug 14th, 2005 7:02 AM

Thankyou for the advise.. Can ya please define wether or not C is assembly?

uman Aug 14th, 2005 10:08 AM

C is not assembly. It isn't even close.

CodeJunkie Aug 14th, 2005 1:24 PM

OK far enough.... I am a little confused because some people have said to me that C is assembly or compiled C is used for assembly, or something?? how do you mean its "Not even close" ?
(Forgive me just trying to learn)

DaWei Aug 14th, 2005 1:58 PM

C is a high-level language that deals in abstractions. Assembler is, at its simplest, a set of mnemonics that map one to one to the binary machine code instructions. Electrically gating the contents of two registers to two inputs of an ALU and reading and storing the result is NOT the same thing as writing "myVal += hisVal;". Used car salesmen will tell that a little ol' lady from Pasedena only drove it on Sundays, to church, too. Self-appointed wannabe gurus will tell you anything they can get you to uncritically believe, if you'll only promise to be their acolyte and not ask questions.

iignotus Aug 14th, 2005 2:33 PM

The confusion you might be getting, CodeJunkie, is that Assembly can be included in most C programs' source and compiled directly (by an assembly compiler). Also, there is an argument for the notion that a good C compilers (most of them are) compile C code into assembly better than most Assembly coders can do by hand, which has proven to be true on a number of occasions, especially for large programs.

CodeJunkie Aug 15th, 2005 11:58 AM

Ok, thankyou for clarifying that ..
The reason for wanting to learn assembly is that i would like program`s that i have written to run on diffrent host machines, this ive yet to achieve without compatablity issues, so i am looking for a robust programming language that can be used on just about any machine without the need for huge amounts of resources to be installed prior to running it ....
(Maybe its the compilers i use, or the way i use them?)
So am finding out wat language to turn to next..
Ive heard of Deplhi, can any1 enlighten me?
Do i really need to go into assembly to ensure compatablity?
Any suggestions would be much appreciated !!

DaWei Aug 15th, 2005 1:19 PM

Assembly language is about the last thing that will ensure compatibility. While AMD uses the x86 compatible machine language, it typically varies for each type of processor.

CodeJunkie Aug 16th, 2005 6:40 AM

O right ..... Do ya have any suggestions on a universal language?


All times are GMT -5. The time now is 4:30 PM.

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