Hi everybody :) , i'm having trouble with the instructions in the "The Art of Assembly" released in March 2003, in "Installing HLA under Windows", well, i have MASM32 already in "D:\MASM32", and i installed HLA in "C:\hla", i have the next envoronment variables:

User JAIKMW:
VAR VALUE

hlainc c:\hla\include
hlalib c:\hla\hlalib\hlalib.lib

path ;c:\hla;c:\hla;d:\masm32\bin;c:\hla;d:\masm32\bin;c:\hla;d:\masm32\bin;C:\WINDOWS\System32\;;c:\hla;c:\hla;d:\masm32\bin;c:\hla;d:\masm32\bin;c:\hla;d:\masm32\bin;c:\hla;d:\masm32\bin;C:\Windows\System32


TEMP C:\Documents and Settings\JaiKMw\Configuraci?n local\Temp
TMP C:\Documents and Settings\JaiKMw\Configuraci?n local\Temp


SYSTEM VARIABLES:
VAR VALUE
hlainc c:\hla\include
hlalib c:\hla\hlalib\hlalib.lib
include c:\hla\include;d:\masm32\include;%include%
lib ;c:\hla\hlalib;c:\hla\hlalib;%lib%
path c:\hla;d:\masm32\bin;%path%
TEMP C:\WINDOWS\TEMP
TMP C:\WINDOWS\TEMP
windir C:\WINDOWS



What i've done:

I run "cmd", then i type "ml/ ?", and the text of ML appears.
I run "cmd", and then type "HLA", and the text of HLA appears.
I run "cmd", and then type "link", and the text of LINK appears.

HW.HLA File:
program HelloWorld;
#include( " stdlib.hhf " )
begin HelloWorld;
stdout.put( "Hello, World of Assembly Language", nl );
end HelloWorld;


But when i type "HLA -v HW", appears this:

C:\CAN>dir
El volumen de la unidad C es WINXPPRO
El n?mero de serie del volumen es: 0F60-09DF

Directorio de C:\CAN

01/06/2004 05:43 p.m. <DIR> .
01/06/2004 05:43 p.m. <DIR> ..
01/06/2004 06:13 p.m. 139 HW.HLA
01/06/2004 06:58 p.m. 195 IHLA.BAT
2 archivos 334 bytes
2 dirs 629,028,864 bytes libres

C:\CAN>hla -v hw
HLA (High Level Assembler)
Released to the public domain by Randall Hyde.
Version Version 1.64 build 8729 (prototype)
Win32 COFF output
Using MASM assembler
MASM output
-test active

Files:
1: hw.hla

Compiling 'hw.hla' to 'hw.asm'
using command line
HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.64 build 8728 (prototype)
-t active
File: hw.hla
Output Path: ""

Compiling "hw.hla" to "hw.asm"
Error in file "hw.hla" at line 2 :
Could not open include file " stdlib.hhf ".
Near: << ) >>

C:\CAN>dir
El volumen de la unidad C es WINXPPRO
El n?mero de serie del volumen es: 0F60-09DF

Directorio de C:\CAN

01/06/2004 05:43 p.m. <DIR> .
01/06/2004 05:43 p.m. <DIR> ..
01/06/2004 06:13 p.m. 139 HW.HLA
01/06/2004 06:58 p.m. 195 IHLA.BAT
02/06/2004 08:59 p.m. 587 hw.asm
02/06/2004 08:59 p.m. 0 hw.data.inc
02/06/2004 08:59 p.m. 0 hw.bss.inc
02/06/2004 08:59 p.m. 0 hw.consts.inc
02/06/2004 08:59 p.m. 0 hw.ro.inc
7 archivos 921 bytes
2 dirs 629,027,840 bytes libres

C:\CAN>

Hope somebody can help me....
:confused:

JaiKMw...
Posted on 2004-06-02 21:30:11 by JaiKMw
Hey :), i copied the "HW.HLA" file to the "C:\hla\include" Directory, and HLA compiled it :-D, but now the problem it's how to compile it in another directory.... i think the problem is in the vars, i dont wanna move anything in the vars, so if somebady can tell me the reason... :), thanks.. JaiKMw
Posted on 2004-06-02 21:33:20 by JaiKMw
This line: #include( " stdlib.hhf " )


try it without the space after the first " if that is exactly how you typed it in. The space makes it a non existent file.

All vars look good but the lib I believe you need...

lib ;d:\masm32\lib;c:\hla\hlalib;%lib%
Posted on 2004-06-02 22:21:11 by User
Hi User :), i don't know what hapenned, but today when i read your post, then i went to "C:\hla" y DOS Prompt, and then typed "hla -v hw", and then HLA compiled it, well, that's a good point, but here's the file :confused: :



program HelloWorld;
#include( "stdlib.hhf" )
begin HelloWorld;
stdout.put( "Hello, World of Assembly Language", nl );
end HelloWorld;



Well, nos it's working... anyway, thank you for your Help. User ;)
Posted on 2004-06-03 14:45:00 by JaiKMw
:O, yeah, i didn't noticed, the no-space after the ", wow, and now even more , thanks for your help :)
Posted on 2004-06-03 14:46:55 by JaiKMw
You're welcome. :)

You already stated before my first post that it did work when you tried it over to your HLA directory. But you stated earlier above that you also wanted to get it to compile in a different directory. Eg. if you wanted to keep all of your programs in a c:\CAN dir (or whatever name you used).

Try in a new dir, and see if it works.

If it doesn't, then try the lib VAR change I posted above. It should work in any directory you are in, as long as the file you want to compile in is in that directory and all the VARS are good.
Posted on 2004-06-04 09:10:45 by User
hello, I (the most stupid person concerning HLA) 'm back.
Can someone explain me how to install HLA ?
I 've tried it a lot but besides error messages in RadAsm, I can do NOTHINGwith it.
I 've red the documentation but I'm tired trying.
What I need is a "do this, do that" explaination (call it kintergarden stuff), i'm familiarised with masm32 and believe that's the reason of my easy installation syndrome.
Can somebody help me please?

Raidu
Posted on 2004-06-14 13:41:34 by raidu
Hi raidu, well if in something helps, this is how i installed it...

First downloaded MASM32 setup, the filename is "masm32v8.zip", and it's 2.98MB or 3057 KB, try searching in google this: index of / masm32v8.zip, or if you know the page... well, i have installed MASM32 in "D:\MASM32".

Then i downloaded "HLASETUP.EXE" from http://webster.cs.ucr.edu/AsmTools/HLA/HLAv1.65/HLASETUP.EXE and installed it on "C:\hla", then i was reading how to install it from "Art Of Assembly March 2003", it says something like:

"Make and Run this Bat File, First edit all the paths, and save it:"

path=c:\hla;d:\masm32\bin;%path%
set lib=d:\masm32\lib;c:\hla\hlalib;%lib%
set include=c:\hla\include;d:\masm32\include;%include%
set hlainc=c:\hla\include
set hlalib=c:\hla\hlalib\hlalib.lib


But in my Xp pro, doesn't worked, so i decided to enter it manaully, and that was all it probably works on 9x systems, if you already have AOA, read carefully the instructions, if not then download it, if you want a link, or something.. here i am :), you should also read "User" posts... :)
Posted on 2004-06-14 18:30:38 by JaiKMw
Just a quick note for everyone:

HLA v1.66 is now available.
One change I've made is to default the hlalib and hlainc environment variables to use the subdirectory containing the HLAPARSE.EXE program. I'm hoping this will eliminate about 70% of the problems people have when first installing and running HLA. It's still a good idea to set up these environment variables, but the default case will handle *most* situations.

I've also modified the "-v" command line option (verbose) so that it will display the current paths for the include and library files.
Cheers,
Randy Hyde
Posted on 2004-06-18 14:11:47 by rhyde
Uff... :), what a relief... Thanks Randall :)
Posted on 2004-06-18 14:45:52 by JaiKMw