Category Archives: ASSEMBLY LANGUAGE

Introduction to x64 Assembly ( INTEL )

Download Article Download Introduction to x64 Assembly [PDF 303KB] Introduction For years, PC programmers used x86 assembly to write performance-critical code. However, 32-bit PCs are being replaced with 64-bit ones, and the underlying assembly code has changed. This white paper … Continue reading

Posted in ASSEMBLY LANGUAGE | Leave a comment

Decoding and Understanding Assembly Code, Registers, Interrupts, ANSI and ANSI C

82 phase_2(input); (gdb) disas phase_2 Dump of assembler code for function phase_2: 0x000000000040106b <phase_2+0>: push %rbp 0x000000000040106c <phase_2+1>: push %rbx 0x000000000040106d <phase_2+2>: sub $0x28,%rsp 0x0000000000401071 <phase_2+6>: mov %rsp,%rsi 0x0000000000401074 <phase_2+9>: callq 0x401457 <read_six_numbers> 0x0000000000401079 <phase_2+14>: cmpl $0x0,(%rsp) 0x000000000040107d <phase_2+18>: jne … Continue reading

Posted in ASSEMBLY LANGUAGE | Leave a comment

MIXING ASSEMBLY LANGUAGE IN C PROGRAM

8.2 Mixing Assembly and C Often it is a good idea to link assembly language programs or routines with high-level programs which may contain resources unavailable to you through direct assembly programming–such as using C’s built in graphics library functions … Continue reading

Posted in ASSEMBLY LANGUAGE | Leave a comment