Re: Two Click disassembly/reassembly



randyhyde@xxxxxxxxxxxxx wrote:

program bottles;
....

Has anyone built this in Linux? I had in mind to run the Linux version of this through Jeff Owens' "asmsrc", just to see what it would do. A "comparison" of RosAsm with asmsrc is "apples and oranges" - that isn't what I had in mind... Just curious...

But I didn't get that far... Here's my "error log":

HLA (High Level Assembler) Parser
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10132 (prototype)
-t active
File: rhbottle.hla
Output Path: ""

Compiling "rhbottle.hla" to "rhbottle.asm"
Error in file "rhbottle.hla" at line 61 [errid:6641/hlaparse.bsn]:
Macro called in file "rhbottle.hla" at line 115
Index size must be an unsigned value greater than or equal to zero.
Near: << ] >>

Error in file "rhbottle.hla" at line 61 [errid:6641/hlaparse.bsn]:
Macro called in file "rhbottle.hla" at line 115
Index size must be an unsigned value greater than or equal to zero.
Near: << ] >>

Error in file "rhbottle.hla" at line 61 [errid:6641/hlaparse.bsn]:
Macro called in file "rhbottle.hla" at line 115
Index size must be an unsigned value greater than or equal to zero.
Near: << ] >>

....
most of 27k snipped - it ends like this... note the second one!

....
Error in file "rhbottle.hla" at line 65 [errid:6641/hlaparse.bsn]:
Macro called in file "rhbottle.hla" at line 126
Index size must be an unsigned value greater than or equal to zero.
Near: << ] >>

Error in file "rhboHLA (High Level Assembler)
Released to the public domain by Randall Hyde.
Version Version 1.79 build 10132 (prototype)
ELF output
Using GAS assembler
GAS output
-test active

HLA Lib Path:     /usr/hla/hlalib/hlalib.a
HLA include path: /usr/hla/include/
HLA temp path:
Files:
1: rhbottle.hla

Compiling 'rhbottle.hla' to 'rhbottle.asm'
using command line [hlaparse  -v -sg -test "rhbottle.hla"]


And there it ends. Like Bernd's RedBlackTree, this is leaving me with zero-length (.asm and .inc) files. The "index size" message is familiar from that problem, too. If you'll recall, I finally *did* get RedBlackTreeTest working, by deleting a couple of innocuous lines in "macros.hhf", ignoring a bunch of error messages from hla, and running as and ld "by hand".


I may not go to the bother of trying to get it to work in this case. I like Nathan's version, and my slight "tweak" of it, better anyway. I may tweak it one more time, to "XCIX Bottles"... maybe run Jeff's asmsrc on that... or not...

I may be screwing something up here, but I suspect there's something "funny" going on with hla's macro-processing in Linux. If anyone else is getting these to work, it's "just me"...

Best,
Frank
.



Relevant Pages

  • Re: Future of IT in Lebanon
    ... IT industry to target, and given the numbers out there, I would say that for the desktop, Windows will continue to blow Linux away, so between the two, I would pick Windows, and yes, Linux for the desktop remains an experiment. ... Open Source can be for Windows, Linux, etc. ... So, when you record a macro, it simply records the keystrokes. ...
    (soc.culture.lebanon)
  • Re: Question about sendfile
    ... > reduce CPU utilization and speedup data transfers. ... > socket to a file via zero copy is definitely useful. ... > Linux zero copy said this is because it is harder. ... > file via zero copy needs the support of NICs. ...
    (Linux-Kernel)
  • Re: Use macro parameter in string; Find type definition
    ... I am new to linux and all the type definitions are driving me mad. ... When a type name is actually a macro, ... int main { ...
    (comp.lang.c)
  • Question about sendfile
    ... I am trying to beat the I/O bottleneck so as to speed up bulk data transfers ... in high speed network. ... Linux zero copy said this is because it is harder. ...
    (Linux-Kernel)
  • Re: MASM32 vs NASM
    ... > like invoke and others, as wells as win32 libraries. ... > only use Linux and i would rather continue doing it. ... find macro files that do pretty much what you want. ...
    (alt.lang.asm)