flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > listing for fasm 1.63 and higher Goto page Previous 1, 2 |
Author |
|
avost 19 Mar 2007, 23:01
Hi Tomasz!
proc isHex stdcall chr:dword mov eax, [ chr ] .if( ( eax >= 'a' ) & ( eax <= 'f' ) )|( ( eax >= 'A' )&( eax <= 'F' ) ) mov eax, 1 .else xor eax, eax .endif ret endp somewhere in main stdcall isHex, 'a' ; not work and mov eax, 'a' stdcall isHex, eax ; work fine |
|||
19 Mar 2007, 23:01 |
|
avost 19 Mar 2007, 23:05
additionally,
in first case argument is not pushed in stack sorry for my bad English)) |
|||
19 Mar 2007, 23:05 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.