flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > push 16777215 doesnt compile |
Author |
|
Madis731 26 Jun 2006, 17:29
I think that you are in 16-bit mode and you are trying to push a 32-bit value. Are you sure there isn't an error in your code?
Code:
use32
push 16777215
use16
should work fine for you though Code:
push dword 16777215
would be more elegant |
|||
26 Jun 2006, 17:29 |
|
wisepenguin 26 Jun 2006, 17:34
it was the use32, thankyou. it slipped my mind to check that.
it was because the whole source file was simply that instruction and nothing more. im just seeing what the byte values of an assembled instruction are. |
|||
26 Jun 2006, 17:34 |
|
okasvi 26 Jun 2006, 21:08
Code: pushd 16777215 ^ could be used too I think. |
|||
26 Jun 2006, 21:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.