flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
KiteMaster
the compiler stops at this instruction
Code: mov ebx,[pos_x+1] shl 16 + [pos_x+9] pos_x dw ? pos_y dw ? whats wrong?? ![]() |
|||
![]() |
|
Tomasz Grysztar
No assembly instruction allows you to perform such calculation. Instead, you should do something like:
Code: mov bx,[pos_x+1] shl ebx,16 mov bx,[pos_x+9] |
|||
![]() |
|
KiteMaster
thx now it works
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.