On Mon, Apr 4, 2011 at 8:09 AM, O'Brien, David W. (NIH/CIT) [C] <[email protected]> wrote: > A colleague asked that the following query be posted: > > Are there any tutorials/samples for writing floating point assembler code. We > need to work with the z/VM Performance data and it is stored in short > floating point. Been playing in the Principles of Operation but have a bit of > a time wrapping my head around floating point manipulation.
You may want to try looking at compiler listings for unoptimized (or optimized) COBOL code using COMP-1 (short float) or COMP-2 (long float). By using the various compiler options (to choose between the various types of floating point numbers) and doing arithmetic and/or moving floating point number to Binary and/or Packed number you will be able to generate a quick tutorial for yourself. The same can be done with the C/C++ compiler other other compilers on your system. Sam > > Thank You, > Dave O'Brien > NIH Contractor > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

