my old code for win16 asm is ok.
the code is:
Even
MyTab label word
dw 00000H,0EEB8H
dw 007F9H,0E311H
dw 013A0H,08400H
dw 01559H,08000H
dw 01577H,08800H
dw 02A90H,08001H
dw 02C28H,09D19H
dw 04A35H,0E000H
dw 0FFFFH,0FFFFH
MyTabLen equ ($-MyTab)/4

but how to change it to win32 asm ? ( masm32 v6.14 )
Thank you very much!
mylic@hynnet.com
Posted on 2002-12-11 10:08:03 by kge
Assembles fine with me... what's your problem?
Posted on 2002-12-11 10:34:40 by Qweerdy

my old code for win16 asm is ok.
the code is:
Even
MyTab label word
dw 00000H,0EEB8H
dw 007F9H,0E311H
dw 013A0H,08400H
dw 01559H,08000H
dw 01577H,08800H
dw 02A90H,08001H
dw 02C28H,09D19H
dw 04A35H,0E000H
dw 0FFFFH,0FFFFH
MyTabLen equ ($-MyTab)/4

but how to change it to win32 asm ? ( masm32 v6.14 )
Thank you very much!
mylic@hynnet.com


yeah - that looks like it'd work fine... perhaps:



MyTab label dword
dd 0EEB80000H
dd 0E31107F9H
dd 0840013A0H
dd 080001559H
dd 088001577H
dd 080012A90H
dd 09D192C28H
dd 0E0004A35H
dd 0FFFFFFFFH
MyTabLen equ ($-MyTab)/8


i'm sure i made a couple of mistakes in there... also, not sure about byte order... no assembler to examine the hex output.
Posted on 2002-12-11 12:09:14 by jademtech