Description: This is Part 4 of the Windows Assembly Language Primer. Please begin here by watching Part 1 if you have not already done so.
In this video, we will look at different data types which can be defined in MASM - byte, word, dword, qword, fword, sbyte, sword etc. and also how to declare and initialize variables with them. Then we will learn about more complicated data types - arrays and strings. Finally, we will code a simple calculator program for addition and subtraction in assembly. The inputs will be read from the user.
The code listing for this video is available here --
Numbers.asm
Tags: basics ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
Comments:
I am getting this error when I try to assemble the program:
numbers.asm(58) : error A2008:syntax error : eax
numbers.asm(63) : error A2008:syntax error : ebx
I couldn't find anything to explain the error.
Good Videos! I am new to assembly language and I have probably learned more in the first three videos than in the last book I read.
Thanks!
Good work vivek
@ weatherbie are you using the supplied Numbers.asm or one you wrote yourself?
awesome!
Great one !!!Sir please make some more videos on linux assembly.........................
thanx for sharing your knowledge
&
have a friendship day to all our security tube family
Now it actually start to look like a program :). Great video!
First of all, I really appreciate you for your free video tutorials on security tube. I follow "Assembly in Windows" series at the moment. I wonder if you can give me a clue to print values in register on masm32 console?
for example:
mov eax,10
;;now 10 has been set to eax
;; I need to know how we can print the value of eax (e.s 10) ?
;; of course, 'StdOut, eax' does not work
I have tried my best. But, still get error.
my error is
"Link : fatal error LNK1104: cannot open "kernel32.lib"
i was wondering where could this kernel32.lib directory is located?
im running a window 7 x64 home premium i tried looking for it in Google and couldn't find any results.
Thanks for the videos
I don't understand the meaning of DW - DB means define byte, right? So does DW mean define word or define double word? Just want some clarification, thanks
Also, I think the typo he pointed out is actually correct - it would be 3, not 2. Meaning DW is 16bits, not 32. Agree/disagree?
Great series! Keep up the great work!
great videos sir and u teach awesome keep it coming sir on diifferent topics