Author Topic: 'hlaparse' is not recognized  (Read 29903 times)

Offline Kocmotex

  • Newbie
  • *
  • Posts: 4
    • View Profile
'hlaparse' is not recognized
« on: August 28, 2008, 09:55:58 PM »
Dear Mr. Zavitz:

   I have a problem.  Permit me to start from the beginning so that you ar fully awave of the chronological order. 

1. Since I already had an earlier version of hla installed, to ensure compatibility between your book and the hla version, I changed the name of the old directory to “c:\hla_pre_8241”. 
2. Thereupon I followed the directions in the book and went to http://webster.cs.ucr.edu/AsmTools/HLA/dnld.html .
3. Although I understand that the frozen version of HLA is v1.99 and is retained for those wishing to use the AOA text, it really wasn’t that clear that I should install HLA v1.103.  Howsoever, I downloaded “HLA Installation Program (HLA v1.103, released 8/11/1008), hlasetup.exe” and successfully installed said version. 
4. I proceeded to create the “projects folder” et al. 
5. I use XP Pro with Microsoft Office (ver ’97), so I have the Console Window button available on a sidebar, permitting a one-click activation of the DOS emulator.  With this flexibility, I write short batch files to adjust the path and change the active directory.  In this case, “zav.bat” sets the path to hla (viz. C:\hla) and changes the active directory to “C:\hla\projects\chapt01_print_message”. 
6. Here are the results: 

C:\hla\projects\chapt01_print_message>path
PATH=C:\;C:\Program Files\Microsoft Office\Office;C:\Program Files\MiKTeX 2.5\mi
ktex\bin;C:\WINDOWS\system32;;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\hla;C:\hla\
include;C:\hla\hlalib;

C:\hla\projects\chapt01_print_message>dir
 Volume in drive C is SQ003521
 Volume Serial Number is B4BD-A73C

 Directory of C:\hla\projects\chapt01_print_message

08/28/2008  10:54 AM    <DIR>          .
08/28/2008  10:54 AM    <DIR>          ..
08/28/2008  02:13 AM               142 print_message.hla
               1 File(s)            142 bytes
               2 Dir(s)   2,476,793,856 bytes free

C:\hla\projects\chapt01_print_message>hla print_message.hla

C:\hla\projects\chapt01_print_message>Echo off
The system cannot find the path specified.

C:\hla\projects\chapt01_print_message>c:\hla\hla print_message.hla
'hlaparse' is not recognized as an internal or external command,
operable program or batch file.

Your comments and observations would be greatly appreciated.

Kocmotex@frys.com


Offline David

  • Hero Member
  • *****
  • Posts: 647
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #1 on: August 29, 2008, 12:15:56 PM »
Dear Kocmotex,


You may have to do this, with your Windows XP Operating System ...

Start -> My Computer -> Properties ->

RIGHT Click in white space ->

Advanced -> Environment variables ->

(In the) System variables (section window - very carefully Edit, or create New if non existent, these Variables and Values:)

Variable         Value
~~~~~~~~~~~~~~~~~~~~~~

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

... and maybe also ...

lib                c:\hla\hlalib
hlatmp          c:\temp


...and maybe carefully also edit ...

Path             (and VERY carefully add/insert where appropriate)
                  ...;c:\hla;...

(i.e. You may want c:\hla in the Path variable.)

(I also set these 2 environment system variables as follows, so that I can clean up my tempory files from one folder.)

TEMP              c:\TEMP
TMP                c:\TEMP

(Of course, if it doesn't already exist, you must create the folder c:\temp)


I may need to MORE DIRECTLY point out this link:

http://webster.cs.ucr.edu/AoA/Windows/HTML/AoATOC.html

And from there, these next 3 links ...

2.2 Installing the HLA Distribution Package

    2.2.1 Installation Under Windows

http://webster.cs.ucr.edu/AoA/Windows/HTML/HelloWorld.html#1011943

    2.2.2 Installation Under Linux

http://webster.cs.ucr.edu/AoA/Windows/HTML/HelloWorld.html#1012028

    2.2.3 Installing "Art of Assembly" Related Files

http://webster.cs.ucr.edu/AoA/Windows/HTML/HelloWorld.html#1012114


Since HLA is no longer defaulting to the use of MASM as its 'backend' assembler ... I think you can safely ignore all the stuff from ...

    2.2.1 Installation Under Windows

http://webster.cs.ucr.edu/AoA/Windows/HTML/HelloWorld.html#1011943

ABOUT MASM ... i.e. you will not need to download MASM, etc ... IF you are only using the free default 'backend assembler' that now comes included with the HLA installs.

I hope this helps.  Please advise.


Getting HLA set up for Windows can be tricky.  If you are just using a Microsoft Windows operating system ... you may prefer to download HIDE ( i.e . ... the Hla IDE be Sevag.)

http://sevag.krikorian.googlepages.com/hide

HIDE is a simple install package and unzips/installs with everything you need ready to run HLA.  You may then make all your working folders from within HIDE.  You will find that HIDE is a self contained Windows environment with a fairly user friendly IDE for HLA.  If you use HIDE, you will NOT have to manually set any Windows System Environment Variables for the HLA compiler/assembler to find things it needs ... like the file hlaparse.exe )


Shalom,

David
« Last Edit: August 30, 2008, 07:58:06 PM by David »

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #2 on: August 29, 2008, 06:30:34 PM »
Thanks David for your answer.
and I hope that is what you need Kocmotex.

Offline Kocmotex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #3 on: August 30, 2008, 05:58:30 AM »

Dear David,

Your response is fantasmagorical!!!

Most of the relationships were pre-existing under Advanced > Environmental variables, as a result of the prior installation efforts.  The hlatmp was missing, which I added along with creation of a ‘c:\temp’ folder.  TEMP and TMP are already set for c:\Windows\TEMP & TMP. 

Now all I need to do is go and try it.  However, in reading through the remainder of your response, I thought that I would evaluate the Webster links you provided.  I reviewed the directions from your book to Webster and found that by downloading and installing ‘hlasetup.exe’, I had installed the HLA version 1.103, released 8/11/2008.  Great!

However, when I tried the five (5) URL links, it was 2020, quid est 5 times 404, not one of them was locatable.  I doubt that Randall Hyde did this, but there is always ucr web masters.

I thought your suggestion about trying HIDE was excellent.  But Mr. Krikorian only provides HIDE Version 1.27.01, quid est a frozen version with HLA 1.99 and hlalib 1.0+ compatibility with AoA. 

Again, permit me to provide my heartfelt thanks for your gracious assistance

Kocmotex


Offline Kocmotex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #4 on: August 30, 2008, 05:25:15 PM »
Quid erat demonstratum!

Again, thank you.

I will presume that the use of a colon to terminate the third line of chapter 1's program was employed as a device to demonstrate to the reader the operation of HLA's error reporting system. 

svegda,

Kocmotex

Offline David

  • Hero Member
  • *****
  • Posts: 647
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #5 on: August 30, 2008, 06:27:28 PM »
Shalom Kocmotex,

Re. your comment ...

" ... the use of a colon to terminate the third line of chapter 1's program was employed as a device to demonstrate to the reader the operation of HLA's error reporting system."

Ha! ... Thank you for the gracious comment ... But no, it was a typographical error.  Thanks for pointing it out.  I will go fix it now.

By the way, what is the meaning, in your last post, of this word: "svegda" ?

Shalom shalom,

David
« Last Edit: August 30, 2008, 06:43:46 PM by David »

Offline Kocmotex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #6 on: September 05, 2008, 08:39:33 AM »
Always,

Kocmotex

Offline David

  • Hero Member
  • *****
  • Posts: 647
    • View Profile
Re: 'hlaparse' is not recognized
« Reply #7 on: December 04, 2008, 04:13:25 AM »
Thank you Kocmotex for your explanation ... and sorry to be so loooooong to reply.

May I also be svegda David.

Shalom shalom.