Convert to base64 help (Cross posted from IBM-Main)

2014-08-08 Thread Ward, Mike S
Hello all, I have found two assembler programs that are supposed to convert data to base64. They do not seem to be working correctly. I have gone to two sites on the internet that do online base64 conversions. I place a 32 byte string of data into the input area and press the encode button. The

Re: Convert to base64 help (Cross posted from IBM-Main)

2014-08-08 Thread Fred . van . der . Windt
The internet sites use an ASCII or UTF representation of the text string you enter, the mainframe uses EBCDIC. The base64 result will differ because the source string has a different binary content. Sent from my iPhone On 8 aug. 2014, at 15:55, Ward, Mike S mw...@ssfcu.org wrote: Hello

Re: Convert to base64 help (Cross posted from IBM-Main)

2014-08-08 Thread Pieter Wiid
Without your code, it's difficult to say. However, going on the Wikipedia info, the obvious check is ASCII vs EBCDIC. I suggest you add a convert-to-ascii to the code compare results then. Pieter -Original Message- From: IBM Mainframe Assembler List

Re: WAVV2010 Presentation

2014-08-08 Thread Tony Thigpen
I must admit that ORG *-32 DC X'0008' puzzles me since ... It's VSE code, so the offsets are different. I assembled the code. (I removed a bunch of blanks to make it fit the email better): 007A 0A6B006B 46+ SVC 107 47MODESET

Re: Convert to base64 help (Cross posted from IBM-Main)

2014-08-08 Thread Ward, Mike S
Thanks to all who replied. You are correct. Adding an EBCDIC to ASCII conversion routine resolved the problem. Thanks for all the replies. -Original Message- From: Alex Kodat [mailto:ako...@rocketsoftware.com] Sent: Friday, August 08, 2014 9:14 AM To: ASSEMBLER-LIST@listserv.uga.edu;

ML and Architecture Level Set

2014-08-08 Thread Rob van der Heij
Folks, I am looking at the Principles of Operation telling me the ML and MLR that are flagged N3 in the summary. And the legend says: N3 Instruction is new in z/Architecture and has been added to ESA/390. Any RSY or RXY instructions still use the RSE or RXE format and 12-bit displacements in

Re: ML and Architecture Level Set

2014-08-08 Thread Hall, Keven
I believe the 'N3' characteristic indicates that the opcode is for a z/Archictecture instruction that is available when a z/Archiitecture processor is operating in ESA/390 mode. An 'N3' instruction is implicitly an 'N' instruction. Keven -Original Message- From: IBM Mainframe

Re: ML and Architecture Level Set

2014-08-08 Thread Farley, Peter x23353
That's a very good clarification of the relationship between N and N3. Thank you. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Hall, Keven Sent: Friday, August 08, 2014 6:13 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject:

Re: ML and Architecture Level Set

2014-08-08 Thread Mark Boonie
In chapter 7 of ESA/390 Principles of Operation, section Instructions, Programming Note 11 says The following additional general instructions are available in the ESA/390 architectural mode when the z/Architecture architectural mode is installed, after which follows the list of N3

Re: nuls vs. blank as padding characters

2014-08-08 Thread Steve Smith
Or NILH Rx,X'00ff' Or NILF, Rx,X'00ff' For production code, I'm restricted to the opcode set required by the oldest supported release of z/OS, and [LL|I|O|N|X]I[H|L][H|L] instructions pass. NILF does not, but it isn't needed in this particular case. sas On 8/5/2014 9:43, John Gilmore