C++
PHP
Java
Linux & UNIX
ColdFusion
Visual Basic
ActionScript
CGI/Perl
JavaScript
HTML/CSS
Other Languages
Bash
ASP
C
mySQL
Python
C#
Assembly
VB.NET
Scheme
Ruby
Inline Assembly (with C)
Template
If Statement
Bit shifting
Arrays and Displaying
Division and Remainders (32-bit numbers)
Define directive
Commenting
Static Jump
Conditional Jump
DUP command
Request and sum
Profit.asm (Includes using routines)
A Geometric Progression program
A simple PROFIT.ASM calculator...
Converting Numbers from Decimal to Binary
Enable 8085 interrupts
Quicker and Shorter Method to free/deallocate memory off the stack
Pushing All Registers on the Stack Using One Instruction
Change proxy server
Factorial by Recursive Procedure Calls
Clearing the Screen in 16-bit x86 Assembly
Code :
ASSEMBLY - INLINE ASSEMBLY (WITH C)
Code Discription :
How to write assembly straight into a C program for a mix of high and low level coding.
Right Click And Copy This Code
/*The best example is with a few simple variable movements */ void average(int n, int p){ asm( mov AX,n // ;get first argument mov CX,p // ;get second argument add AX,CX // ;AX = AX + CX div AX,2 // ;AX = AX/2 ); } some operations are not done perfectly when converted in high level languages, so help them out by writting the code"s assembly yourself */ /*This code is not a reasonable example, but it gives the inline idea */
COPYRIGHT © 2007-2008 BY Lib-Code.All rights reserved.
POWERED BY: Lib-Code V1.3