Assembly Hello World.asm tutorial in MASM
Top Comments
All Comments (47)
-
dude.. do you know open a file to read. the filename must be enter by user.
-
@Gelid97 I think you mean opcodes, not bytecodes. Bytecodes are what Java or Python is "compiled" into. Opcodes are numbers the CPU uses for operations. Bytecodes I believe are run inside of a virtual machine such as a Java VM.
-
@gruntlover2 .586 or .686 .586 should work on Pentium or higher processors. I think .686 is going to compile x64 bit code but I am not sure on that. Let me know if you find out.
-
thanks¡¡
-
you are starting the program with .386.. i have a core i5 processor. what should i type over there?
-
@Gelid97 Well byte code is just one byte instructions like pop push ect but they can not the not be executed by the cpu. What you are talking about is called object code. Bytecode is executed by a virtual machine or just in time compiler. Object code is executed directly by the cpu. And I made a mistake in my comment. The .net languages are not even compiled until runtime. You can see this if you open up a executable file in a HEX editor made with any of the .net language.
-
@gruntlover2 WELL actually, every program is made of bytecode. Bytecode is directly convertible with ASM. ASM is just an easier way to write bytecode, just like every other programming language. However, ASM is the closest you'll get to the hardware, while .NET is very diluted compared to the bytecode. That is to say, .NET and ASM are just different ways of writing bytecode, my point being that .NET is no different than ASM, or bytecode. They are not seperate, but rather two faces of the same.
-
@Kazm1k Well actually alot of programs now are made with the .net languages and the are compiled into byte code. They are only converted into machine code on runtime
-
Nice tut but how the hell would make a Windows app in asm?
-
@artistdigital You can use assembly code from within a C program. Just type _asm{ assembly code goes here }
@Caveej Says the guy who obviously searched about ASM...
TheRealVice 1 year ago 8
great tutorial thanks dude
MrHudson185 1 year ago 4