Skip to content

Fix zCobol test cases with muliply packed issue#777

Merged
abekornelis merged 12 commits into
z390development:mainfrom
abekornelis:testint1
May 2, 2026
Merged

Fix zCobol test cases with muliply packed issue#777
abekornelis merged 12 commits into
z390development:mainfrom
abekornelis:testint1

Conversation

@abekornelis
Copy link
Copy Markdown
Collaborator

@abekornelis abekornelis commented Mar 22, 2026

fixes #759
For now I have changed the test cases - they were multiplying numbers that are simply too large for MP to handle.
I.e. MP requires operand1 to have as many leading bytes of zeroes (2 packed zeroes each) as the entire length of operand2. The operand2 in this case was assembled as 4 bytes, but operand 1 did not have 8 leading zeroes.

@abekornelis abekornelis self-assigned this Mar 22, 2026
@abekornelis abekornelis added bug Something isn't working component-cobol Related to COBOL support Lang:Macro labels Mar 22, 2026
@abekornelis abekornelis marked this pull request as ready for review April 25, 2026 13:36
@abekornelis abekornelis requested a review from Zaneham April 25, 2026 13:36
Copy link
Copy Markdown
Contributor

@Zaneham Zaneham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Happy for this to merge :-)

@abekornelis abekornelis merged commit 8fa0697 into z390development:main May 2, 2026
4 checks passed
@abekornelis abekornelis deleted the testint1 branch May 2, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working component-cobol Related to COBOL support Lang:Macro

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zCobol MULTIPLY verb may generate code for S0C7

2 participants