-
system engineering
Software engineering occurs as a consequence of a process called system engineering.Instead of concentrating solely on software, system engineering focus on a variety of elements, analyzing,designing and organizing those elements into a system that can be a product,a service or a technology for the transformation of information and control. The system engineering process is called…
-
line with cairo
/* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include int main () { cairo_surface_t *surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 800, 600); cairo_t *cr = cairo_create (surface); cairo_set_font_size (cr, 32.0); cairo_set_source_rgb (cr, 0, 0, 0); cairo_set_line_width(cr,1.0); cairo_move_to (cr, 10.0, 50.0); cairo_line_to(cr,20,300); cairo_stroke(cr); cairo_destroy (cr); cairo_surface_write_to_png (surface, “hello.png”); cairo_surface_destroy (surface); return 0; }
-
print with delay 0.1
/* Jeffrin Jose Licensed GPL v3 Copyright 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include #include int main() { int seconds; int i=0; char array[20]=”Happy Friendship Day”; /* printf(“n Happy Friendship Day n”); */ for(i=0;i<20;i++) { printf("%c",array[i]); /* for(seconds=0;seconds<100000000;seconds++);*/ /* system("sleep 1s");*/ sleep(1); /* Delay not Properly Implemented . FIXME. */ } printf("n"); return 0; }
-
exclusive OR Instruction :-
GDB shows XOR Instruction (gdb) disassemble 0x00007f16db50b647 Dump of assembler code for function gtk_main: 0x00007f16db50b5a0 : push %r15 0x00007f16db50b5a2 : xor %edi,%edi 0x00007f16db50b5a4 : mov $0x1,%esi 0x00007f16db50b5a9 : push %r14 0x00007f16db50b5ab : push %r13 0x00007f16db50b5ad : push %r12 0x00007f16db50b5af : push %rbp 0x00007f16db50b5b0 : push %rbx 0x00007f16db50b5b1 : sub $0x38,%rsp 0x00007f16db50b5b5 : addl $0x1,0x4e2af4(%rip) #…
-
NOP machine instruction
| NOP instruction | source : | Windows Debugger | In computer science NOP or NOOP (short for No Operation or No Operation Performed) is an assembly language instruction, sequence of programming language statements, or computer protocol command that effectively does nothing at all. source : http://en.wikipedia.org/wiki/NOP
-
push instruction.. push %rbx
| push instruction | (gdb) disass Dump of assembler code for function _IO_default_uflow: 0x00007f7c1e9964d0 : mov 0xd8(%rdi),%rax => 0x00007f7c1e9964d7 : push %rbx 0x00007f7c1e9964d8 : mov %rdi,%rbx 0x00007f7c1e9964db : callq *0x20(%rax) 0x00007f7c1e9964de : cmp $0xffffffffffffffff,%eax 0x00007f7c1e9964e1 : je 0x7f7c1e9964f2 0x00007f7c1e9964e3 : mov 0x8(%rbx),%rdx 0x00007f7c1e9964e7 : movzbl (%rdx),%eax 0x00007f7c1e9964ea : add $0x1,%rdx 0x00007f7c1e9964ee : mov %rdx,0x8(%rbx) 0x00007f7c1e9964f2…
-
About software port and related to service type micromuse-lm
ABOUT SOFTWARE PORT A Software Port (usually just called a ‘port’) is a virtual data connection that can be used by programs to exchange data directly, instead of going through a file or other temporary storage location. The most common of these are TCP and UDP ports which are used to exchange data between computers…