flat assembler
Message board for the users of flat assembler.
Index
> Main > [solved] convert asc2Hex to integer ? |
Author |
|
Roman 19 Jan 2021, 09:23
I search example to convert asc2Hex to integer.
For example: Code: .data asc2Hex db '$FF2040E0',0 int32 dd 0 .code PS: I done. Thanks all. |
|||
19 Jan 2021, 09:23 |
|
ProMiNick 19 Jan 2021, 10:51
in both fasm & fasmg that is realized. look sources. no thanks.
|
|||
19 Jan 2021, 10:51 |
|
bitRAKE 19 Jan 2021, 19:32
https://github.com/zbjornson/fast-hex
If you need to convert several numbers PSHUFB is your friend. Search the board to find mine. Validation can be done with string SIMD instructions. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
19 Jan 2021, 19:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.