Category: MMIX (RISC processor)
MMIX assembly language floating point number preprocessor – GNU Bison and GNU Flex version
Here’s a GNU Bison and GNU Flex version of my MMIX assembly language floating point number preprocessor. The code was developed using GNU Bison version 1.875d and GNU Flex version 2.5. This version allows for entering more complex expressions of floating point numbers involving addition, subtraction, multiplication and division. Extending the grammar to cover trigonometric […]
Read More → MMIX assembly language floating point number preprocessor – GNU Bison and GNU Flex versionMMIX assembly language floating point number preprocessor – initial C version
Here’s the code for a C program I conceived during a rather boring night shift while performing national service some years back. The code was later refined using GNU Bison and GNU Flex for parsing the operand field, yielding the possibility of processing whole expressions involving addition, subtraction, multiplication and division. Instead of specifying IEEE […]
Read More → MMIX assembly language floating point number preprocessor – initial C versionUsing the C preprocessor from GCC to preprocess MMIXAL code
Work in progress! 9 year old files or so.
Read More → Using the C preprocessor from GCC to preprocess MMIXAL codedec2dms.mms and tri_area.mms
I was looking at some old files and found these files containing MMIX assembly code. The first file is a program for converting angles from a single value to sexagesimal notation, and back. The second file is a program for calculating the area of a triangle. I have more MMIX code dating back at least […]
Read More → dec2dms.mms and tri_area.mms