RE: HLA 2.10.5 The stdout.putiXSize Routines.
From: CleoN (spamtrap_at_crayne.org)
Date: 07/13/04
- Previous message: Matt Taylor: "Re: registers"
- Next in thread: Charles A. Crayne: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Reply: Charles A. Crayne: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Reply: Randall Hyde: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Jul 2004 06:18:35 +0000 (UTC)
Since I am new to assembly language, this error is one that I do not
understand how to resolve. I am currently working through the Art of
Assembly "cfm" file in section 2.10.5 The stdout.putiXSize Routines.
The program is designed to print to the console columns of numbers while i32
is greater than zero. The trouble is that line 41 contains two empty ` '
symbols that my HLA / masm32 compiler does not like.
I am not just looking for someone to "debug my code". I am hoping that you
can point me in the right direction to start debugging my own code.
The line that reads stdout.puti32Size( i32, 5, ` ` ); in the following block
while( i32 > 0 ) do
if( ColCnt = 8 ) then
stdout.newln();
mov( 0, ColCnt );
endif;
stdout.puti32Size( i32, 5, ` ` );
sub( 1, i32 );
add( 1, ColCnt );
endwhile;
generates the following error:
HLA (High Level Assembler)
Released to the public domain by Randall Hyde.
Version Version 1.67 build 8940 (prototype)
Win32 COFF output
Using MASM assembler
MASM output
-test active
HLA Lib Path: c:\hla\hlalib\hlalib.lib
HLA include path:
;c:\hla\include;c:\hla;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wb
em;C:\WINDOWS\masm32;c:\hla;c:\masm32\bin
HLA temp path:
Linker Lib Path:
c:\masm32\lib;c:\hla\hlalib;c:\masm32\lib;c:\hla\hlalib;c:\masm32\lib;c:\hla
\hlalib;%lib%;C:\hla\hlalib
Files:
1: NumsInColumns.hla
Compiling 'NumsInColumns.hla' to 'NumsInColumns.asm'
using command line [hlaparse -v -sm -test "NumsInColumns.hla"]
HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.67 build 8939 (prototype)
-t active
File: NumsInColumns.hla
Output Path: ""
Compiling "NumsInColumns.hla" to "NumsInColumns.asm"
Error in file "NumsInColumns.hla" at line 41 [errid:7876/hla.flx]:
Illegal character in file: <`>(96/$60).
Near: << ` >>
Error in file "NumsInColumns.hla" at line 41 [errid:7876/hla.flx]:
Illegal character in file: <`>(96/$60).
Near: << ` >>
Error in file "NumsInColumns.hla" at line 41 [errid:97937/hlaparse.c]:
syntax error, unexpected ')'.
Near: << ) >>
Compilation complete, 5126 lines, 0.094 seconds, 54532 lines/second
- Previous message: Matt Taylor: "Re: registers"
- Next in thread: Charles A. Crayne: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Reply: Charles A. Crayne: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Reply: Randall Hyde: "Re: HLA 2.10.5 The stdout.putiXSize Routines."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|