Monthly Archives: April 2010

Topics

Below posts about Pointer arithmetic based quicksort implementation in assembly language (32bit 8086) C++ interface to the asm quicksort with [string array] test code C++ interface… with custom comparator ( asm->c++ callback ) Compile options for linux nasm and g++ … Continue reading

Posted in Kategorizálatlan | Leave a comment

Compile

nasm -f elf sort.asm g++ -Wall -c test.cppg++ test.o sort.o The int version uses it’s own comparator function : int intCompare(int* ptrA,int* ptrB) // this is our custom comparator{  if(ptrA && ptrB)  {    printf("compare %i with %i \n",*ptrA,*ptrB);    return *ptrA-*ptrB;  … Continue reading

Posted in Számítógép és internet | Leave a comment

C++ int array test for quicksort

/*************************************************************************** *   Copyright (C) 2010 by papp   * *   vortex_32@freemail.hu ***************************************************************************/ //#ifdef HAVE_CONFIG_H//#include <config.h>//#endif #include <stdio.h>#include <stdlib.h>#include <string>#include <iostream> using namespace std; typedef int (*ptrAbstractComparer) (void* ptrA,void* ptrB);typedef int (*ptrAbstractUnaryCallback) (void* ptrA);typedef int (*ptrAbstractSwap) (void* ptrA,void* ptrB); extern "C" … Continue reading

Posted in Kategorizálatlan | Leave a comment

C++ interface 4 asm quicksort (type == string)

Posted in Kategorizálatlan | Leave a comment

C++ interface

Posted in Kategorizálatlan | Leave a comment

QuickSort in Assembly

Here is my own HAND MADE (assembly 32bit 8086) quicksort implementation in JPG! (next time : C++ interface )  

Posted in Számítógép és internet | Leave a comment