broweo@yahoo.com [hercules-390]
2018-04-12 14:58:20 UTC
Trying to compile a C program with inline assembly, working under windows (version at bottom)
I put asm("X B Y"); in my code but it seems to translate to
ç@@Ã@@Ú
in the output
which I guess is EBCDIC (certainly @=0x40=space) but I don't think this would survive the trip to the mainframe. What am I doing wrong?
Compiler -v output:
GNU C version 3.4.6 MVS V1.0 (i370-mvspdp)
compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125).
I put asm("X B Y"); in my code but it seems to translate to
ç@@Ã@@Ú
in the output
which I guess is EBCDIC (certainly @=0x40=space) but I don't think this would survive the trip to the mainframe. What am I doing wrong?
Compiler -v output:
GNU C version 3.4.6 MVS V1.0 (i370-mvspdp)
compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125).