Set the initial length to the remaining bytes on the "page". After that, use the "page size". That leaves the question of how an unpriveleged program determines the "page size".
Scare quotes because a 1 MiB "page" is actually a segment in the nomenclature of PoOps. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Jeremy Nicoll [[email protected]] Sent: Friday, April 28, 2023 7:48 AM To: [email protected] Subject: Re: Inexplicable 0C4! On Fri, 28 Apr 2023, at 12:31, Michael Stein wrote: > How about setting the length to include just to the end of the current > page. Then as the first operand doesn't cross a page boundary ... Just imagine if the first operand started on the last byte of the page! Wouldn't it be better to getmain a page (or a few more), just for the first operand to reside in, and then follow your "do it in chunks" approach? -- Jeremy Nicoll - my opinions are my own. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
