Post Reply 
HP41UC: User-Code File Converter / Compiler / De-compiler / Barcode Generator
09-12-2016, 06:49 PM (This post was last modified: 09-12-2016 09:37 PM by leoduran.)
Post: #20
RE: HP41UC: User-Code File Converter / Compiler / De-compiler / Barcode Generator
(09-12-2016 06:18 PM)Dieter Wrote:  
(09-12-2016 02:13 PM)leoduran Wrote:  Did you by chance add a "/x30" switch to the decompiler, like this:
hp41uc /r=test /t /n /x30

No. I know about the /x option but I did not use it.

(09-12-2016 02:13 PM)leoduran Wrote:  Attached is "dieter.txt" showing the results I observed.

Here is what I got (can't remember the last time I used "type"):

Code:
F:\>hp41uc /t=test /r /n /k
txt[ F:\test.txt ] => raw[ F:\test.raw ]
.END. found on line 9.
 size[ 0019 ]  ( 25 bytes )
25 bytes written.

F:\>hp41uc /r=test /t /n
Overwrite F:\test.txt (Yes/[No])?y
raw[ F:\test.raw ] => txt[ F:\test.txt ]
102 bytes written.

F:\>type test.txt
 01 LBL "PRDTA"
 02 1.004
 03 XROM 30,03
 04 RCL 03
 05 RCL 04
 06 *
 07 PRX
 08 RTN
 09 END

It shows the same output after compiling, but the decompiler writes 102 bytes because "XROM 30,03" is longer than "RDTAX". #-)

I even thought I had run 2.41 instead of 2.42, but the version is correct.
Strange.

Dieter
Yes, that is odd... Since we exchanged .EXE files a few times, I'm wondering if we're just out of sync?

Please delete copies of hp41uc.exe you may have, and let's try this .EXE:
https://sourceforge.net/p/hp41uc/code/ci...32App_x86/
in a new/clean 'test' directory:
> F:
> mkdir test
> cd test
> (unzip the attached .EXE here, at F:\test)
> (copy your test.txt here, at F:\test\)
> hp41uc /t=test /r /n /k
> hp41uc /r=test /t /n

Does that work?
Leo.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP41UC: User-Code File Converter / Compiler / De-compiler / Barcode Generator - leoduran - 09-12-2016 06:49 PM



User(s) browsing this thread: 1 Guest(s)