|
Hi, can anyone tell me, what is the benefit of learning assembly programming language? If I learn vb.net i will be able to design an application with a greate visual interface. But if I learn assembly programming language, what is the possibility that I could do after learning it?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
|
Colin Angus Mackay wrote:
Assembly is useful if you need to write programs that deal with directly with hardware
Can you give me an example of the program that deal with the hardware? On the other hand, I heard somebody told me that assembly programming could be written as a virus or we can become a hacker after we learn assembly programming. I don't want to be a hacker but I wonder this opinion is right or wrong? Because I try to look for the sample code of assembly programming in the internet and i don't think that it could be powerfull like that... Any idea or comment???
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
The man from SCN-CO wrote:
Can you give me an example of the program that deal with the hardware?
Just about any sort of hardware drivers.
The man from SCN-CO wrote:
On the other hand, I heard somebody told me that assembly programming could be written as a virus or we can become a hacker after we learn assembly programming.
You could be a virus writer with C# as well. It is possible to write a virus using VBScript or VBA code embedded in a Word document. (That's why virus checkers will check word files)
The man from SCN-CO wrote:
I try to look for the sample code of assembly programming in the internet and i don't think that it could be powerfull like that... Any idea or comment???
Assembly is very powerful if you know how to use it. I wouldn't recommend it for business applications but it is possible. Assembly language is essentially a one-to-one relationship to machine instructions. Each assembly instruction translates to one machine instruction - which is why it is so useful for dealing with hardware.
I don't know if that answers your question, but I hope it helps.
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Colin Angus Mackay wrote:
Just about any sort of hardware drivers.
Thank you very much colin. That make me much more understand.
Colin Angus Mackay wrote:
You could be a virus writer with C# as well. It is possible to write a virus using VBScript or VBA code embedded in a Word document. (That's why virus checkers will check word files)
Thank you very much for your suggestion. I know some function of VBA, VB6 and VB.Net. Currently, I'm developing a database application in VB.Net and SQL server. But the reason that I ask about assembly programming because I want to learn about the computer security. I want to write my own anti-virus application that prevent virus attack from a network or the internet. But my teacher told me that, before you prevent a virus or hacker, you must be a virus writer or hacker yourself. That would make me know the behavior of the virus or hacker does. He ask me to learn as much as possible about assembly programming. He said that it is a powerful programming language. Now I just bought and read from this book[^] and start from chapter 1. Do you have any idea about that?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
At it's core, I would suggest the jump from VB to assembler is a huge one. You should perhaps consider C++ first, to at least understand how a high level language manages memory and so on, before trying to use assembler to do anything.
If you use C++, assembler becomes more useful because you can embedd it in your app.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
At it's core, I would suggest the jump from VB to assembler is a huge one. You should perhaps consider C++ first, to at least understand how a high level language manages memory and so on, before trying to use assembler to do anything.
Thank you very much for your comment. I used to learn C++ for the last 3 years but now I forget it. During my study progress, I found that C++ is very difficult to study than VB. But I think because I'm lack of resource of learning C++. If it is possible, you could recommend me any resource that I could learn C++ very effectively, and a recommend C++ editor that I could use to compile the C++ source code very easily.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
The man from SCN-CO wrote:
If it is possible, you could recommend me any resource that I could learn C++ very effectively, and a recommend C++ editor that I could use to compile the C++ source code very easily.
Visual Studio is the obvious answer. If you want to start slow, buy 'Teach yourself C++ in 24 hours'. That was my first book, and 6 months later I had a job writing C++.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Thank you very much for your comment. I will follow it and let you know if I have any problem.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
The value of assembly language programming lies in the ability to access hardware bits directly, and to execute CPU instructions that are not available to applications written in HLLs. A device driver is one example of an ASM application.
Few programmers have a real, in-depth understanding of how the hardware works, primarily because they have little need for such knowledge in their work. Assembly programmers must have an intimate knowledge of the hardware in order to write effective, safe code. While I believe that most programmers would benefit from more in-depth knowledge, it isn't really necessary for writing applications. Learn ASM for your own reward - you may find that it's fun to manipulate bits and flags in the CPU directly - but don't plan on writing applications with it. That's just not practical.
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
Dear Roger, Thank you very much for your comment. Could you give me more idea from here?[^]
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I have a problem while launching windows update feature (w2k). The message is:
Windows Update has encountered an error. This may be due to a discrepancy in your computer's time setting.
To check your date and time setting:
On the taskbar, double-click the time.
Verify that the date and time is correct.
I can't get to the update page then.
Well, I don't have time setting problem; my time is correct.
Can anybody suggest a solution, please?
Regards
|
|
|
|
|
I got the same message yesterday on Windows Server 2003 RTM. There may be a bug.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
There was a bug, indeed. After some time it worked ok. I suppose, Microsoft team was adding a untested feature to this site.
|
|
|
|
|
liquid_ wrote:
I can't get to the update page then.
Well, I don't have time setting problem; my time is correct.
Can anybody suggest a solution, please?
I used to heard my teacher told me about an error with the windows time zone. According to his suggestion, he told me to change the windows time zone to any time zone that is difference from the default time zone after we install windows 2000. He told me that, that is the recommend from Microsoft that need the user to do that everytime when they finish the installation process of windows 2000. Whether your time zone is correct with the default time zone that originally install by windows, but Microsoft still ask you to change to any difference time zone, then apply it back to the time zone that is the default time zone after it install windows 2000. But he did not tell me more detail about the behavior of an error or show me the document that he told me.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I am trying to access my computer at home from the computer at my office.Both are Turned on.But telnet is not responding.It gives the error message can't be connected at port 23.Can anyone solve this problem and please tell if there is some specific format.
Be FaithFull To Your Work.
|
|
|
|
|
That will occur when youe home pc has no telnet server/port opened.
|
|
|
|
|
Your home computer has to have the Telnet service running, and if you are using a firewall program, it has to have the Telnet service and port enabled. Usually this option must be accompanied by a list of authorized users and IP addresses, so be prepared when you attempt to enable it to provide that information.
"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
|
|
|
|
|
Usman Tasleem Akshaf wrote:
It gives the error message can't be connected at port 23.
In my opinion, you did not enable the Telnet service in the Services management consol. Try to enable it and try your connectivity again. On the other hand, if you need to learn on how to use telnet[^].
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi,
I am creating a batch file which will display current folders in the given directory with there creation date.The date i am getting is mm/dd/yy format only using the following:
set folder_date=%%~td
I want the format like mm/dd/yyyy.How do i get this format ?
Any help...
Thank you.
|
|
|
|
|
Go to control panel , open Regional and Language Option . On the Regional Options tab click on the Customize... button. The Customize Region Option dialog box appear and click on the Date tab. Choose the specific format of Short date format combobox and apply the setting. The new format will apply in your command prompt.
|
|
|
|
|
I'm developing an application running on Windows CE .Net 5.0 and sometimes I get the message 'intoofueil'. This will occur each second for a long period of time. When setting the unit into SystemIdle_L2 it will stop.
Does anyone know what this means and is it harmfull (besides filling my debuglog file with a lot of these messages).
|
|
|
|
|
Hi Expert,
Does anybody know how Win2K works exactly of recognizing the date format ? I got difficulties that my remote DCOM is recognizing the date format in the server as MM/dd/YYYY while in the regional setting of that PC I set to dd/MM/YYYY ?
Furthermore I found an article in MSDN:
http://support.microsoft.com/default.aspx/kb/271587
suggesting to set the
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLEAUT]
VarConversionLocaleSetting = 2
to force using system default setting, but it doesn't work (after I did all they suggest, by setting that registry & the system default to dd/MM/YYYY, my remote DCOM still getting MM/dd/YYYY).
Is there something else I need to do ? (I don't use IIS, so I didn't set anything releated to IIS).
Thanks before.
|
|
|
|
|
hi,
everything about the compilers always stops at the creation of an assembly lang file and being fed to the assebnler.
how does the assembler translate?what exactly is a binary data( know it is voltage level etc) that can be given directly to the processor from keyboard?
the lack of info is killing me.someone please help.i want to know.
bye.
|
|
|
|
|
as i don't understand what you talk about exactly, i certainly won't answer the whole things you want to know.
When you program (whatever language), the compiler has to transform plein text (source code) to binary datas.
binary datas is a queue of bytes which are understood directly by the microprocessor.
processor manufacturers design built-in functions such as additions, decimal division, long jumps, etc... this way, software must fit to that built-in functions for them to be executed (else, they won't be even understood - or misunderstood).
these built-in functions are recognized by the processor as one ore two consecutive bytes, followed directly by its parameter(s).
the goal of the compiler is to translate the source code into that machine code made of bytes ones behind others...
of course, machine code are processor dependant and before the compiler starts working, it must get the processor type (intel,IBM, amd, etc...) to generate the right language.
if you want to know the processors assembly commands and byte translation, you will have to look in processors manuals.
when you talk about voltage levels, i'm not certain to understand you. if you talk about how to transmit the generated bytes to the processor physically, it is certainly in the proc manual. but that job is done by the operating system.
cheers,
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|