Post Reply 
MCODE programming: help needed with asmnut 0.40.1
01-27-2021, 08:59 PM (This post was last modified: 01-27-2021 09:09 PM by cgh.)
Post: #7
RE: MCODE programming: help needed with asmnut 0.40.1
(01-27-2021 11:58 AM)hmilz Wrote:  
Code:

.NAME   "ML" PROMPT C

what I get is bits set to 0x33, i.e. "2 Digits, IND, IND ST, non-null Alpha . or ..". This is a 1:1 mapping from Meindert's list mentioned in an earlier post in this thread. A combination of Flags seems not possible because the 2x 2 extra bits is all the mainframe can work with as far as I understand.
Hi,

Sorry but I dont't understand. What is the PROMPT do you expect to create ? How many digits ? ALPHA ? IND ? ...
By the way, PROMPT C is not possible in asmnut. You must set a combination of 1 2 F 3 S I Y +. a and/or A,
For example, if you want a PROMPT of 3 digits, use
Code:
.NAME "3DIG" PROMPT 3

I you want a prompt of 2 digits limited to 0-55 and enable the IND, use:
Code:
.NAME "55IND" PROMPT FI

and so on...
What PROMPT do you want to set ?

The documentation is right. Don't look to the code, the comments may be outdated. This is the PROMPT I have in some functions:
Code:
                .NAME    "LA"    PROMPT    3
                .NAME    "LX"    PROMPT    3
                .NAME    "LB"    PROMPT    3
                .NAME    "LA"    PROMPT    3
                .NAME    "LX"    PROMPT    3
                .NAME    "XCF"    PROMPT 2IY
                .NAME    "XSF"    PROMPT 2IY

Regards,

Christophe
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MCODE programming: help needed with asmnut 0.40.1 - cgh - 01-27-2021 08:59 PM



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