-
Recent Posts
Tags
May 2013 M T W T F S S « Feb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Blogroll
Author Archives: pawanspace
Recursive function for finding factorial in Assembly Language
.type factorial function .globl factorial factorial: pushl %ebp # Push base pointer address on top of stack for return purpose movl %esp, %ebp # Now we will be using %ebp as a for all operations on stack subl $4,%ebp # Make … Continue reading
Posted in Assembly Language
Leave a comment
set/reset a bit using Assembly language!
section .data byte_data: .byte 0b01111111 # This is 127 in decimal… we are gonna make it 255 by setting the least significant bit. .section .text .globl _start _start: movl $0, %edi # set the index movb byte_data(,%edi,1), %al or $0b10000000, … Continue reading
Posted in Assembly Language
Leave a comment
Making all bits false using Assembly Language
.section .data data_items: .byte 0b11111111 .section .text .globl _start _start: movl $0, %edi movb data_items(,%edi,1), %eax start_loop: shrl $1, %eax cmpl $0b00000000,%eax je exit_loop jmp start_loop exit_loop: movb %eax, %ebx movl $1, %eax int $0×80
Posted in Assembly Language
Leave a comment
Back to basics
I was reading a wonderful book Programming from Ground up by Jonathan. It reminds me old good days about assembly language on Dyna Microprocessor kits. I thought about writing some points from that. Let us start reading about the Computer Architecture:
Posted in Assembly Language, General
Leave a comment
You and Your dreams(A note to myself!)
It is hard to understand and hard to analyze what YOU want from YOUR life and what YOU wanna be in life. Every one has a goal and every one is working for that goal in their respective life. May … Continue reading
Posted in Failure>>Success
Leave a comment
Object A….present sir!!(Proxy object ;))
I was really busy in last few days working on frameworks like spring and hibernate. While working on that I realized that like Java is a heart of Web development these days. Proxy pattern is also heart of these … Continue reading
Posted in Design Patterns
1 Comment
Crash course of Java RMI
Here is a simple crash course of RMI api provided by Java. RMI is basically implementation of Remote Procedural Call It differs from CORBA which is used for communication between two different languages. These days we have a new implementation … Continue reading
Posted in Core Java
2 Comments
FaceMash algorithm from Social network movie.
Hi All, I saw social network movie and next day when I was discussing this movie with few of my colleagues we were thinking about the algorithm which Mark had taken from one of his friend who use it for … Continue reading
Posted in General
7 Comments

