Assembly Primer For Hackers (Part 10) Functions
|
|
|
||||||||||
Description: This is Part 10 of the "Assembly Language Primer for Hackers" video series. Please start here by watching Part 1 of this series, if you have not already done so. In this video we will look at how to write functions in Assembly Language. <br><br>The most important step in writing functions in assembly is to understand how to pass arguments to them and then read their return values. We will look at 2 techniques - using registers and using global memory locations to understand how this can be done. In this demo we will use our familiar "Hello World" program to demonstrate how to code a simple function using the "write()" syscall. We will useĀ the Function.s program to demonstrate argument passing using the CPU registers and Function2.s to demo argument passing using global memory location in the .BSS segment. <br><br><br><style type="text/css"> body { background: </style> </div>
This video is part of the following groups:
1. Assembly Language Megaprimer for Linux ( 11 videos)
Comments (13)
|
slingshot on Sat 26 Mar 2011 I really really enjoy these series, I have been using it as a refreshment, I have not looked at asm in a long time. |
|
|
ElDanzante on Fri 01 Apr 2011 I too enjoy the series. Recently retired, interested in hacking and computer security. This is a great start. Thanks for all your work. |
|
|
Col_Loki on Sat 30 Apr 2011 If only these videos were available when i was doing my Undergrad.....My exams would have been a lot easier! |
|
|
b1ackzer0 on Thu 23 Jun 2011 This is great! Loved the series. Learning ASM after years of hoping. Thanks a lot. |
|
|
DevilPheonam on Tue 05 Jul 2011 Thank you vivek sir..I am new to this field of information security and I am learning assembly after so long time and that to from basics...getting everything very clear..!! |
|
|
xplt on Fri 08 Jul 2011 As always! Another great movie! Thank you Vivek! |
|
|
neo on Sat 16 Jul 2011 awesome video vivek. |
|
|
ireip on Wed 21 Sep 2011 Hi Vivek. |
|
|
orrala on Mon 03 Oct 2011 @ireip |
|
|
kocur4d on Fri 04 Nov 2011 hi, great series I am using it as a refresher and it does MagiC:) Just a question about string len. You are setting it to 14 for HelloWorld string and 17 for HelloFunction string. when I run it my output is: |
|
|
Erix on Tue 17 Jan 2012 hi MR Vivek. |
|
|
tecuani on Mon 23 Jan 2012 Thanks for your hard work Vivek. |
|
|
divineffdd on Fri 24 Feb 2012 Thanks a bunch Vivek, your videos are serving as a great primer prior to getting Bill Blunden's root kit book in a couple of weeks. |


