Post Reply 
HP41UC: User-Code File Converter / Compiler / De-compiler / Barcode Generator
09-12-2016, 10:04 PM (This post was last modified: 09-12-2016 10:17 PM by Dieter.)
Post: #25
RE: HP41UC: User-Code File Converter / Compiler / De-compiler / Barcode Generator
(09-12-2016 09:42 PM)leoduran Wrote:  1) Wow... Now I'm really confused!
What do you mean by "non-programmable functions (e.g. LIST)...throw a compiler error"?

Have a text file with a non-programmable printer command like LIST (XROM 29,07) and this line will not compile. hp41uc /r will display an error message saying that the command in this line of the text file is not recognized and the user should try XROM xx,yy instead:

Error: unrecognized or incomplete function[ LIST ]
If [ LIST ] is an external module function, try: [ XROM mm,ff ]
Compiler error on line 8.
0 bytes written.

This is fine since LIST cannot be used in a program. It is not programmable and can only be used in Run mode.

On the other hand non-programmable card reader commands like VER run through the compiler without any error. De-compiling this back to a text file shows XROM 30,05.

(09-12-2016 09:42 PM)leoduran Wrote:  2) OK, attached is the .EXE (v2.43), I expect the output to include:
XROM: module=30 function=3 count=32 list=11 flag=1
Decoded XROM function: RDTAX
XROM: module=29 function=20 count=32 list=11 flag=1
Decoded XROM function: PRX
97 bytes written.

The output is:
...
XROM: module=30 function=3 count=32 list=11 flag=0
Decoded XROM function: RDTAX
XROM: module=29 function=20 count=32 list=11 flag=1
Decoded XROM function: PRX
102 bytes written.

So it's flag=0 for RDTAX, not flag=1.

BTW it's the same with VER that can never appear in a program:

XROM: module=30 function=5 count=32 list=11 flag=0
Decoded XROM function: VER

(09-12-2016 09:42 PM)leoduran Wrote:  3) What version of Windows are you running? (32 or 64 bit?)

I am running hp41uc on an XP SP 3 machine, i.e. 32 bit.

Dieter
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 - Dieter - 09-12-2016 10:04 PM



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