flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 20 Jan 2009, 09:36
Is this ever true?
Code: if flag and 10000b |
|||
![]() |
|
ouadji 20 Jan 2009, 10:18
"flag" ... yes ...
I used the symbol "flag" ... already in use. I fixed this. Code: PROC32.INC macro prologuedef procname,flag,parmbytes,localbytes,reglist { local @all @all = FALSE if parmbytes | localbytes enter localbytes , 0 end if match =all,reglist \{ @all = TRUE pushfd pushad \} if ~ @all irps reg, reglist \{ push reg \} end if } and , macro epiloguedef procname,flag,parmbytes,localbytes,reglist { local @all @all = FALSE match =all,reglist \{ @all = TRUE popad popfd \} if ~ @all irps reg, reglist \{ reverse pop reg \} end if if parmbytes | localbytes leave end if if flag and 10000b retn else retn parmbytes end if } |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.