Description: This is Part 6 of the "Assembly Language Primer for Hackers" video series. Please begin here with Part 1, if you have not already done so. In this video we look at how to transfer data between registers and memory locations using the MOV series of instructions. We discuss data transfer between registers, immediate values and registers, memory locations and registers, immediate values and memory locations, indexed memory addressing schemes, indirect addressing using registers and many other important concepts. It is important to note that all the above are explained in detail using example code in the video. <br><br>Please download the MovDemo.s code before you begin with the tutorial. <br><br><br><style type="text/css">body { background: #FFF; } </style> <br> <style type="text/css"> body { background: #FFF; } </style> </div>
Tags: programming ,
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.
Thanks a lot sir..these videos have been very helpful.
Pls help.i assembeled and linked the movdemo.s program.
but wen i open it in gdb and do list ,it doesnt show.
Nor does the step fuctiobn works.
Did you try -gstabs with when you were assembling your source?
great presentation
does it mean that ($location)= location ?
Also, what is the -gstabs used for? I know I could google it, but thought I would give feedback instead.
Thanks.
great job on the videos, keep up the good work!
Great video, thank you very much for taking the time for us.
http://tinyurl.com/66jd6bl
Vivek,
This video was great! My favorite thing that I discovered is that I was doing the steps before you mentioned them in many cases. You've really taught me well. Thanks! :D
This assembly language is starting to make sense. Finally I'm grasping this obscure language.
Thank you Vivek! =)
Super Video. Thanks
learned a lot in this one, thanks
Thanks for this video. I think I need to review a few times as i was lost...haha.
wonderful video! your presentations are remarkably helpful
although im confused where i might be be able to download the program so i could try it myself
never mind i didn't realize the description expanded
As always! Another great movie! Thank you Vivek!
Thank you for these videos! Easy to follow and very informative.
little complicated but i will try this.
thank u vivek.
really simple and helpfully......thank you Vivek
# 5. MOV data from register to memory
movb $3, %al
movb %al, ByteLocation
What is %al ??
How can i view the value? i tryed "print %al" or "x/1db &al" but no luck...
%al is a location, but isn't clear to me why %al , i lost some passages? can somebody help me out here, i'm rewatching the video hope to understand by myself but i'm not the shrpen knife in the drawer :)
ok ok, I found it, al = first 7 bits of EAX, it was explained on the first video...
I appreciate the time put into these videos. I'm slowly making my way through, hoping to begin to grasp assembly language. I'm not sure how this fits into the grand scheme of the language, but what's been taught so far is very clear and well explained.
This is by far the best explanation of assembly that I have ever come across. Thank you so much for this.
Amazing, Big help, Thank you!
I need someone who is capable of hacking* websites & accessing their email database
I don't need scraping,web crawling or extractors
I need this sites HACKED so I gain access to their email DB
I will need to test the result u give me,if it checks out,I am willing to pay up to 3000$
per website and 10-20 websites monthly,which will increase upon delivery of faster & quality
service
Pls note,CONTINUITY is what I am after...I NEED A GOOD PARTNER I CAN WORK WITH FOR A VERY
LONG TIME!. I HAVE AT LEAST 500 WEBSITES ON MY LIST AND IM WILLING TO PAY 3000$ PER WEBSITE
PLEASE SEND ME A MAIL IF U CAN DO THIS ASAP ; omorye007 (at) yahoo (dot) com
Cheers
Here is the lesson code, added in some of my own comments
http://pastebin.com/svesKjbn
last one moving is ultimate
Of course, we liked it!
Very good series of videos, thanks for sharing your knowledge :)
Forgive me but are the slides backwards? Is it not
Mov dest, source? I could be missing something I don't mean to be rude.
Your videos are probably some of the best videos I've ever seen regarding any academic subject. I'm speeding through your videos so please keep up the great work and make part 12; I'm going to be waiting for it within a day.
Best assembly tutorials ever.
Thanks a lot for this video vivek!
@R3dy
The assembler used in this video is gnu gas, using AT&T syntax, it means that instead of using:
Mov dest, source
you have to use:
Mov source, dest
Fasm and Nasm for example are using Intel syntax, this time you will use:
Mov dest, source
For more informations go on:
http://asm.sourceforge.net/articles/linasm.html#Syntax
Dear Professor,
I'm getting a segmentation fault
Program received signal SIGSEGV, Segmentation fault.
0x00000000004000e8 in ?? ()
so i checked, and the change is done
(gdb) x/5dw &IntegerArray
0x6000ff <integerarray>: 10 20 22 40
0x60010f <integerarray+16>: 50
the problem indicates the address of rip
rip 0x4000e8 0x4000e8
so, though it compiles, it cannot be run, hope you can help me.
thanks
Thank you so much for all the hard work you put into all of the videos, I can tell you that this is probably the best explained tutorials I have ever seen on assembly language, please keep up your excellent work.
Excellent work. I followed you through the video performing each step as you went, pausing the video when needed. The next time I will take notes as I go through it for the second time. I have been learning a tremendous amount with your wonderful videos.