flat assembler
Message board for the users of flat assembler.
Index
> Linux > String comparison (64 bit linux) |
Author |
|
vid 31 Oct 2006, 09:43
you must know what is encoding of string. if it's ascii then you just do cmp word [rax], '49', which is equivalent to memcmp((char*)rax, "49", 2)
|
|||
31 Oct 2006, 09:43 |
|
orbital_fox 31 Oct 2006, 16:50
whats the usuall encoding from a command line input? Is that the one defined in the settings of the command line terminal?
|
|||
31 Oct 2006, 16:50 |
|
orbital_fox 31 Oct 2006, 16:54
Thanks! it worked
|
|||
31 Oct 2006, 16:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.