Begin to use assembly without any programming knowledge

Click For Summary
SUMMARY

Starting with assembly programming is feasible for beginners, but it is not the most practical choice due to its complexity and specificity. Assembly language excels in creating fast, small code optimized for particular applications. However, it is advisable to first learn high-level programming languages such as PERL, Visual Basic, JavaScript, or C/C++, which offer easier constructs and broader applicability. These languages provide a more accessible entry point into programming and have extensive online resources for learning.

PREREQUISITES
  • Basic understanding of computer architecture and how processors execute code.
  • Familiarity with programming concepts such as variables, loops, and conditionals.
  • Knowledge of high-level programming languages for easier transition.
  • Access to online resources for programming tutorials and examples.
NEXT STEPS
  • Learn PERL for CGI scripting and its syntax similarities to C.
  • Explore Visual Basic for its user-friendly scripting capabilities on Windows.
  • Study JavaScript for web development and its integration within browsers.
  • Investigate C or C++ for foundational knowledge in high-level programming.
USEFUL FOR

This discussion is beneficial for beginners interested in programming, particularly those considering assembly language, as well as anyone looking to establish a solid foundation in high-level programming languages.

bezgin
Messages
22
Reaction score
0
I don't know anything about programming. Is it okay if I start with assembly? And more importantly, how can I begin to use assembly without any knowledge. If you could offer me a book / website, I'd really be pleased.
 
Engineering news on Phys.org
Programming is a very large field.

Assembly is useful for creating fast running code that is small in size so its easy to store and easy for a processor to execute. However its generally highly optimized for a specific application to assist in maximizing those attributes. If you have a specific application, it might very well be the best choice but not necessarily to start with.

A lot of programming is done in high-level languages so that constructs like if-then-else statements or conditional looping statements or variables to store the data in are easy to implement. Its far more likely to be useful later on to know a high-level language.

A question of what you'd like to do with the code is another thing to keep in mind, some languages are far better suited than others to certain tasks.

4 you might want to investigate would be:
---------------------------------------------------
PERL - the language of CGI scripts and free to use
Visual Basic - can be scripted for free on Windows or compiled with the MS Editor
JavaScript - free to use within a browser or full JAVA if you want to compile it
C or C++ - the standard code for high-level languages

Both PERL and Java have similar constructs and syntax to the C language so they are easy transitions. Visual Basic is by far the easiest as the varibles need not be declared and its case-insensitive so "X" is the same as "x" whereas in C or Java they would be different.

All of these have a tremendous amount of support available on the internet with countless examples and explanations all over the place. I'd say just search by the name of the language and "Hello World" and you should find plenty to keep you busy for some time.

Cliff
 
Last edited:

Similar threads

  • · Replies 102 ·
4
Replies
102
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 2 ·
Replies
2
Views
5K