Begin to use assembly without any programming knowledge

AI Thread Summary
Starting with assembly language can be challenging for those without programming knowledge, as it is highly optimized for specific applications and requires a deeper understanding of computing concepts. High-level programming languages, such as PERL, Visual Basic, JavaScript, and C/C++, are generally more accessible and practical for beginners, offering easier syntax and constructs like conditional statements. Learning a high-level language first can provide a solid foundation that will be beneficial when transitioning to assembly later. Resources for learning these languages are abundant online, with many tutorials and examples available. Focusing on a specific application or goal can help guide the choice of language to learn.
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:
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top