Skip to content

Commit

Permalink
Various changes resulting from review process
Browse files Browse the repository at this point in the history
  • Loading branch information
abekornelis committed Jun 6, 2024
1 parent 65060bc commit 910b75b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
12 changes: 5 additions & 7 deletions mac/ZRTOPTBL.CPY
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ GETZ390 DS 0H
*
* Read record, at end set eof indicator
GETZ390_READ DS 0H
LA R14,GETZ390_READ2 * counter z390 issue #525
GET Z390PRN,Z390REC * Retrieve record
GETZ390_READ2 DS 0H * Resume point after EOF
.* LTR R15,R15 * Get does not return error
Expand Down Expand Up @@ -128,7 +127,6 @@ GETHLASM DS 0H
*
* Read record, at end set eof indicator
GETHLASM_READ DS 0H
LA R14,GETHLASM_READ2 * counter z390 issue #525
GET HLASMPRN,HLASMREC * Retrieve record
GETHLASM_READ2 DS 0H * Resume point after EOF
.* LTR R15,R15 * Get does not return error
Expand Down Expand Up @@ -217,11 +215,11 @@ COMPARE_NEXT DS 0H * advance to next entry
*
***********************************************************************
Z390END DS 0H
OI Z390EOF,X'FF' * switch eof indicator on
MVI Z390EOF,X'FF' * switch eof indicator on
BR R14

HLASMEND DS 0H
OI HLASMEOF,X'FF' * switch eof indicator on
MVI HLASMEOF,X'FF' * switch eof indicator on
BR R14

***********************************************************************
Expand All @@ -231,7 +229,7 @@ HLASMEND DS 0H
***********************************************************************
ERROR01 DS 0H
WTO 'Error: Open failed',ROUTCDE=11,DESC=(6)
MVI RETCODE,X'08'
MVI RETCODE,8
B EXIT

ERROR02 DS 0H
Expand Down Expand Up @@ -309,8 +307,8 @@ Z390REC DS CL(&Z390LEN)
HLASMREC DS CL(&HLASMLEN)

DS 0D
Z390TBL DS 5000CL(&ENTRYLEN) * room for 5000 opcodes
Z390TBL DS (&TBLSIZE)CL(&ENTRYLEN) * room for lots of opcodes
Z390TBL_END EQU *-1 * Last byte of table
DS 0D
HLASMTBL DS 5000CL(&ENTRYLEN) * room for 5000 opcodes
HLASMTBL DS (&TBLSIZE)CL(&ENTRYLEN) * room for lots of opcodes
HLASMTBL_END EQU *-1 * Last byte of table
1 change: 1 addition & 0 deletions rt/rt/OPCD$DOS.MLC
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ START DS 0H
* Major constants for this program
MARKER DC C'Mnemonic Frmt HexOP Operands '
&ENTRYLEN SETA (L'MARKER) * Marker Length = Entry Length
&TBLSIZE SETA 5000 * Max nr of opcodes to expect
&Z390LEN SETA 256 * Length of z390 listing record
&HLASMLEN SETA 160 * Length of HLASM listing record

Expand Down
2 changes: 1 addition & 1 deletion src/az390.java
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ else if (tz390.op_trace_type[index]==147)
else if (tz390.op_name[index].equals("MVCK")
|| tz390.op_name[index].equals("MVCP")
|| tz390.op_name[index].equals("MVCS"))
{entry=my_operands="D1(R1,B1),D2(B2),R3"; // #500
{my_operands="D1(R1,B1),D2(B2),R3"; // #500
}
else
{my_operands="D1(L,B1),D2(B2)"; // #500
Expand Down
2 changes: 1 addition & 1 deletion src/mz390.java
Original file line number Diff line number Diff line change
Expand Up @@ -8494,7 +8494,7 @@ private void init_gbl_sys(){
add_gbl_sys("&SYSOPT_DBCS",var_setb_type); // set false indicating no DBCS support
add_gbl_sys("&SYSOPT_OPTABLE",var_setc_type); // "z390" opcode table name
gbl_setc[tot_gbl_setc-1] = tz390.opt_optable; // #527
; add_gbl_sys("&SYSOPT_RENT",var_setb_type); // set true if RENT option specified
add_gbl_sys("&SYSOPT_RENT",var_setb_type); // set true if RENT option specified
add_gbl_sys("&SYSOPT_XOBJECT",var_setb_type); //set true if GOFF or XOBJECT
add_gbl_sys("&SYSPARM",var_setc_type);
gbl_setc[tot_gbl_setc-1] = tz390.opt_sysparm;
Expand Down

0 comments on commit 910b75b

Please sign in to comment.