: : Quick question..
: :
: : What are the dangers involved when messing around with asm on a Windows based PC? I here Windows crashes often when executing asm programs. I also hear it is possible to damage your system programming in asm, such as making the hard drive un-usuable and messing up with FAT32 system? Any truth to this and is it then worth using an emulator such as Bochs?
: :
: Sure Windows can crash executing asm programs, as it can using any programming language. A program, whether it is asm, C or whatever language, needs to be compiled to machinecode first before it can be executed. So the OS always executes machinecode.
: But if the OS crashes it is always the programmer's fault (at least since XP). Windows protects the system from doing any seriously dangerous because any program runs in it's own environment.
:
: As for starting with 16-bit assembly, I disagree with that. Processors are 32- (or even 64-) bit nowadays. I don't think you will get a better grasp if you start with 16-bit assembly. If that would be the case, then why not start with 8-bit assembly?
:
:
: Greets,
: Eric Goldstein
:
http://www.gvh-maatwerk.nl
:
:
:
Why not? Programming the hardware directly like the DMA, PIC, PIT, and other embedded systems can only be a good thing if you wish to program other chips. Learning 16 bit first and then moving on gives you a better insight on why things work the way they do now. I can personally speak for that.