Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kahlinor

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,184

    Re: Shift right arithmetic

    This utility gives you a visual representation of what's going on with the SAR (and several other CPU) instructions. Check it out if you like. The small manual also has examples on several useful...
  2. Replies
    2
    Views
    819

    Re: making advapi32.dll patch

    olly can assemble.

    I'm not sure what you are trying to do is legal.
  3. Thread: arrays

    by kahlinor
    Replies
    2
    Views
    929

    Re: arrays

    This is NASM? What's with all the comment characters? Or are semicolons used as statement separators here?

    I think your problem may be with addressing:

    mov dx,[student] ; Load dx with word...
  4. Replies
    2
    Views
    1,075

    Re: hex binary etc

    I'm assuming you want to convert them to ascii. Binary is fairly simple.

    Just load the number into a register shift left, the carry flag will tell you if the next digit is a zero or a one, store...
  5. Re: Can't call functions from different files

    I'm not familiar with the assembler you are using, but it seems to be a compiling/linking problem. Have you seen other examples of code using multiple modules written in your assembler syntax?
  6. Re: Help ..............to find a code................

    You'll have to do the work yourself.

    Here is some logic to help you out:

    -x & (x+1)
    = rightmost zero bit
    = 0 if no zero bits in set
  7. Replies
    18
    Views
    2,799

    Re: Assembly code nowadays

    One of the attractions of HLA is that it allows for flexible data representation: types, records and classes. MASM also has built in support for structures.
  8. Replies
    1
    Views
    697

    Re: Learning Assembly (Should I Do It?)

    Assembly knowledge does help in writing better high level code and a good project to take on if you have already learned a high level language pretty well. HLA might be a good entry point for you as...
  9. Replies
    18
    Views
    2,799

    Re: Assembly code nowadays

    I tried several assemblers but settled on HLA myself. As for TASM, It's a fine assembler, but I wouldn't recommend it since it is discontinued by the developer. I see no future in it.

    Another...
  10. Replies
    18
    Views
    2,799

    Re: Assembly code nowadays

    The only reason for this is due to the lack of commercial support for assembler. Assembly tends to be less portable (though an assembler such as gas is able to transcend across different processors)...
  11. Re: help me please.. im missing something and i don't know :(

    I don't know exactly what kind of problem you are getting, so this solution may not apply to you: Offset zero = 1st byte, you are modifying the 3rd byte.
  12. Re: Comparing C++ Char's in Assembly, and working with arrays.

    Anyway, just to give you an idea, here is some HLA code that displays an array of strings. As an exercise, translate it to your assembly syntax and it will give you something to work on. Remember,...
  13. Re: Comparing C++ Char's in Assembly, and working with arrays.

    My assumption is that you have an array of string pointers. On a 32 bit machine, each reference is 4 bytes long.



    On a single dimension array, you traverse it by adding the element size to...
  14. Replies
    1
    Views
    5,210

    Re: meaning of "incl" assembly instruction

    It's the long form of "inc"
    But incl 0x8 doesn't look right to me.
  15. Re: Returning information from Assembly to C++ without registers

    An important thing to remember is what kind of parameters are being passed on the stack. Are you passing by value or by reference?

    Also, you have fallen into a trap of referencing off of ebp. ...
  16. Replies
    3
    Views
    1,347

    Re: Need Win32 Assembler

    You have several choices. Some noteworthy ones:

    FASM
    NASM
    HLA
    AS

    Of these, AS and NASM should already be on your 'nix

    Get FASM at http://flatassembler.net/
  17. Replies
    4
    Views
    1,463

    Re: A simple problem will kill me~~help~~

    This looks like an older version of MASM.

    Let's examine your main search routine:

    next:
    mov si,offset string+2 ;string's add->si
    mov cl,string+1 ;string'length->cl
    mov ch,0
    cmp count,0
    jl...
  18. Replies
    4
    Views
    1,463

    Re: A simple problem will kill me~~help~~

    Sounds like a simple compare operation.
    What assembly language/OS are you allowed to use if not Windows assembly?

    You'll also have to show your attempt to program this, it is your assignment...
  19. Replies
    5
    Views
    1,252

    Re: Anyone Please Help Me To Learn Asm...?

    Those books teach you how to program and think in assembly. If you want to learn how to hack, you're in the wrong place.
  20. Replies
    15
    Views
    2,303

    Re: What's wrong with this code?

    Dev-Cpp (and MinGW) use binutils - the 'nix lineup: AS, AR, LD, etc.
    A COFF object won't link. There might be a conversion utility somewhere, I don't know.

    Meanwhile, try writing the code in AS...
  21. Thread: exe viewer

    by kahlinor
    Replies
    7
    Views
    3,419

    Re: exe viewer

    My favorite hexer:

    www.mirkes.de

    look for "tiny hexer" in freeware category.

    -sevagK
  22. Replies
    2
    Views
    1,924

    Re: My Dollar Sign Problem And Meaning Of Db

    I'm not too informed on DOS or TASM (I assume this is TASM code), but it seems to me that the problem is here.

    DOS strings are terminated with a dollar sign and this line above is your input...
  23. Thread: DLL help

    by kahlinor
    Replies
    1
    Views
    1,051

    Re: DLL help

    You can't return a 64 bit value into a 32 bit register. MOVQ (and MOVD) are designed to be used with MMX registers.

    If you must return a 64 bit value and can't use MMX, then you can go with 2...
  24. Replies
    5
    Views
    1,212

    Re: Call, push, and pop question

    (Assuming x/86 processor)
    What normally happens is that a stack frame is built around the ebx register, then uses addressing [ebx +parm. offset] to get the parameters of the function and [ebx -...
  25. Thread: Linked List

    by kahlinor
    Replies
    1
    Views
    1,538

    Re: Linked List

    That really depends on your linked list is setup in memory.

    Theoretically, if it's a "linked list" you should have at least a "next" field in the structure that points to the next record in the...
Results 1 to 25 of 34
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center