Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bigbeebrian

    calling an assembly procedure from C

    From: bigbeebrian I want to pull the data off of the stack. for the program above where the C function prototype is: ConvertToASCII(char* inputBuffer, dword size, char* outputBuffer) I understand when the C program calls this function the arguments are pushed on the stack from right to...
  2. bigbeebrian

    calling an assembly procedure from C

    Let's say we have a C-program. In that program we call a function like convertTo(inBuffer, size, outBuffer). The prototype looks like this: extern dword convertTo(char*inBuffer, dword size, char* outBuffer); Question?: how would I get at the contents of: inBuffer,size and outBuffer . I...
  3. bigbeebrian

    problem with looping

    from:bigbeebrian Thanks for all your help I think Ive got it now.
  4. bigbeebrian

    cpuid for mmx

    from:bigbeebrian I figured out what I had done wrong. Thanks
  5. bigbeebrian

    cpuid for mmx

    Can anyone help with this problem? the cpuid code I wrote tells me that my "amdk6-2 500mhz" supports mmx , sse,sse-2 but a comercial program tells me that my processor doesn't support sse,sse-2. Can anyone tell me what is wrong with my code. Here is my code: mmx_check: mov eax,1...
  6. bigbeebrian

    problem with looping

    the following code snippet copies from one place to another but doesn't want to decrement cx . An infinite loop has been created. can anyone tell me why and how I can fix it. thanks .MODEL SMALL .386 .STACK 1024 .DATA Message DB 'Press Any Key$' videoSeg = 0B800h scrnStorage =...
  7. bigbeebrian

    capturing the screen contents

    this is my code with corrections. I think my only problem now is , how do I print the buffer back to the screen? .MODEL SMALL .386 .STACK 1024 .DATA Message DB 'Press Any Key$' videoSeg = 0B800h scrnStorage = (25*80*2) buffer DW 4000 dup(?) .CODE main PROC...
  8. bigbeebrian

    capturing the screen contents

    Can anyone tell me why this program doesn't work. I'm writing a program that captures the screen contents then clear the screen then prompts the user to "press any key". After the user presses a key the original contents should pop back to the screen. This is what I have so far...
  9. bigbeebrian

    lnk error lnk1000

    I just converted from C++Builder3. After setting up Visual C++ 6.0, I tried running the " hello world " console app. but, I keep getting a " unknown error fatal error lnk1000 " what am I doing wrong? bigbeebrian. bigbeebrian@iwon.com

Part and Inventory Search

Back
Top