Array initializing in MASM
From: Josi (no_at_email.com)
Date: 05/29/04
- Next message: Frank Kotler: "Re: Array initializing in MASM"
- Previous message: rjb: "Re: Newbie: easiest assembler program"
- Next in thread: Frank Kotler: "Re: Array initializing in MASM"
- Reply: Frank Kotler: "Re: Array initializing in MASM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 02:58:04 +0000 (UTC)
I'm learning assembler and trying to port a searching algorythm from BASM
(Delphi inline assembler) to MASM, to compile a DLL, but I got stuck at
the beginning.
I can compile a DLL an call the routine, but I cannot initialize an array
big enough in the .data section.
I need to define a 256 elements array to allow upper/lower case
conversions but when I try to define it in .data I cant initialize
enought elements
The longest line that I was able to compile was:
ToLowerChars db
00h,01h,02h,03h,04h,05h,06h,07h,08h,09h,0Ah,0Bh,0Ch,0Dh,0Eh,0Fh,10h,11h,1
2h,13h,14h,15h,16h,17h,18h,19h,1Ah,1Bh,1Ch,1Dh,1Eh,1Fh,20h,21h,22h,23h,24
h,25h,26h,27h,28h,29h
So I guess it should be another way to do the same thing (initializaing a
256 byte array).
Thanks in advance for any help..
Josi
- Next message: Frank Kotler: "Re: Array initializing in MASM"
- Previous message: rjb: "Re: Newbie: easiest assembler program"
- Next in thread: Frank Kotler: "Re: Array initializing in MASM"
- Reply: Frank Kotler: "Re: Array initializing in MASM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|