You have teacher skills! Neat, not pretentious and simplicity! Congrats and keep it going. Many tutorials out there are more focused in showing off than teaching.
Hey, this is super neat! I am sure a lot of us would love more tutorials haha. I noticed that if I kept 'msg db "hello world",0' as is and did not change it to "%d",0dh etc... or even did not push the 'msg' after pushing ecx I got a segmentation fault. Is it required that I push a data byte string to the printf? I can't just 'mov ecx, 42' and push it to print 42? Thanks in advance! (this applies to the program that prints 42 with a new line.)
@how2backtrack You can't just push 42 and print it, the computer wouldn't know if 42 is a number or an address of a string or a file attribute mask or anything else. The first argument of printf lets you specify what kind of data you're going to display in text form. %d means that the next argument corresponding to this token is a decimal value.
fuck usa
6580006247 2 months ago
You have teacher skills! Neat, not pretentious and simplicity! Congrats and keep it going. Many tutorials out there are more focused in showing off than teaching.
JHIslander 4 months ago
Comment removed
jangirke 4 months ago
Hey, this is super neat! I am sure a lot of us would love more tutorials haha. I noticed that if I kept 'msg db "hello world",0' as is and did not change it to "%d",0dh etc... or even did not push the 'msg' after pushing ecx I got a segmentation fault. Is it required that I push a data byte string to the printf? I can't just 'mov ecx, 42' and push it to print 42? Thanks in advance! (this applies to the program that prints 42 with a new line.)
how2backtrack 6 months ago
@how2backtrack You can't just push 42 and print it, the computer wouldn't know if 42 is a number or an address of a string or a file attribute mask or anything else. The first argument of printf lets you specify what kind of data you're going to display in text form. %d means that the next argument corresponding to this token is a decimal value.
jakash3 6 months ago
You should clean the stack your self when using MessageBoxA
milasudril 10 months ago
This is a really good tutorial. please make more assembly programming videos! :D
iCyberBombzz 11 months ago
Please don't stop after two videos. Most people who make understandable assembly tuts do...
loviandark 11 months ago
Nice!
Could you explain command line arguments next? - I've always wondered how to get them in assembly.
TanelTM 1 year ago
Great tutorial. Good that you are using very contrast text color so it's easy to read.
MinDControlDx 1 year ago