Importance Of Assembler

iforgot

New Member
Hey guys, i am doing a research paper for my university, and i would like your opinions if you can give it to me, i would be apreciated.



I would like to know what is the Importance of teaching assembler and if it should be tought to Programing Students (yes or no and why)


tks:) :D :P
 
yes i am learning it as part of my college.

Its a good way of learning how the PC actually works on a low level, and therefore essential to any comp sci course.
 
yeah it teaches you fetch-execute, how memory is handled, adressing, calculations (base address etc...) , teaches you how interrupts work, how the cpu actually works, how programs and multitasking attually works thanks to the stack etc...
 
Assembly is at the gut level. You will learn the instruction set one at a time.
its also very fast and efficient. they use compilers , 'C' and other languages. they can get away with it now because computers are fast and memory is easily available. the languages like 'C' is sloppy. I don't know of many proggys written in machine anymore. Is was very important 25 yrs ago. I still play though.
 
machine code is still essential for firmware, embedded devices, things which need to maniulate h/w directly e.g low level drivers
 
hey can get away with it now because computers are fast and memory is easily available.
It's not only that, compilers are now so advanced that the machine code they produce is so efficient it would take a pro/guru of some kind to produce even only a little bit better code.
 
still, you are right, but the thing is, if i am going to do c# what help should i get from knowing assembler, its an old language and its a machine language, as a programmer you don't need that, i mean, i am just wondering why it sould be tought and i shouldn't i can't find a perfect explanation for it,
 
still, you are right, but the thing is, if i am going to do c# what help should i get from knowing assembler, its an old language and its a machine language, as a programmer you don't need that, i mean, i am just wondering why it sould be tought and i shouldn't i can't find a perfect explanation for it,

its not essential to be taught, its just another level of abstraction.
Its only use is to help you conceptualise in more detail how cpu works, as this can be difficult to do in a third+ tier programming language. However as i said its just another level of abstraction.

machine code is still essential for firmware, embedded devices, things which need to maniulate h/w directly e.g low level drivers
I note a few times in this post people are confusing assembly language with machine code, they are not the same thing. Machine code is a first-tier language and cant be read with the eye. You can program in this language if you want but if just a series of binary of hex chars. Assembly language needs to be converted into machine code before it can be "read" by the cpu.
 
Back
Top